summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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 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