From 89468e61cc5630df869a54bdee73ab0c4d114f2f Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 18 Jun 2015 23:10:53 +0200 Subject: irc-announce: create,delete: announce refname --- lib/git.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3