summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-18 23:10:53 +0200
committertv <tv@shackspace.de>2015-06-18 23:10:53 +0200
commit89468e61cc5630df869a54bdee73ab0c4d114f2f (patch)
treeafb8c2ad6ede1682aa011ddb3d8a52cdbb317cf7 /lib
parent1a89fc4b8aa656b068ddeea8c16b72087c94c292 (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 62a724f3..9f98c5de 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