From 27edd6f68a05c789140828dc11eeb7d330d57eb5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 18 May 2015 17:43:58 +0200 Subject: [PATCH] Link to the shortlog on multiple commits This is relevant for links to Gitweb. Thanks ^7heo for the heads up. --- src/deforaos-git-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deforaos-git-hook.sh b/src/deforaos-git-hook.sh index cadeb88..9ba70ec 100755 --- a/src/deforaos-git-hook.sh +++ b/src/deforaos-git-hook.sh @@ -180,7 +180,7 @@ _link_branch() repository="$1" branch="$2" - [ -n "$GITWEB" ] && echo "$GITWEB?p=${repository}.git;a=tree;hb=$branch" + [ -n "$GITWEB" ] && echo "$GITWEB?p=${repository}.git;a=shortlog;hb=$branch" [ -n "$REDMINE" ] && echo "$REDMINE/repository/${repository}/show?rev=$branch" | _tolower }