diff options
author | tv <tv@shackspace.de> | 2015-06-18 23:10:53 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-18 23:10:53 +0200 |
commit | 89468e61cc5630df869a54bdee73ab0c4d114f2f (patch) | |
tree | afb8c2ad6ede1682aa011ddb3d8a52cdbb317cf7 | |
parent | 1a89fc4b8aa656b068ddeea8c16b72087c94c292 (diff) |
irc-announce: create,delete: announce refname
-rw-r--r-- | lib/git.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/git.nix b/lib/git.nix index 62a724f3c..9f98c5de1 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 |