summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-06-18 23:10:53 +0200
committertv <tv@krebsco.de>2015-06-18 23:10:53 +0200
commitd780704df822b8f50ed472b923f13c112c5d4170 (patch)
treeafb8c2ad6ede1682aa011ddb3d8a52cdbb317cf7 /lib
parent6865624762d35a2418b1901b7b1cf82c87ca20cd (diff)
irc-announce: create,delete: announce refname
Diffstat (limited to 'lib')
-rw-r--r--lib/git.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/git.nix b/lib/git.nix
index 62a724f..9f98c5d 100644
--- a/lib/git.nix
+++ b/lib/git.nix
@@ -147,7 +147,11 @@ let
case $receive_mode in
create)
#git log --oneline $id2
- link="http://cd/cgit/$GIT_SSH_REPO/"
+ link="http://cd/cgit/$GIT_SSH_REPO/?h=$h"
+ ;;
+ delete)
+ #git log --oneline $id2
+ link="http://cd/cgit/$GIT_SSH_REPO/ ($h)"
;;
fast-forward|non-fast-forward)
#git diff --stat $id..$id2