]> git.phdru.name Git - git-scripts.git/commitdiff
Set hooks.showrev
authorOleg Broytman <phd@phdru.name>
Fri, 1 Aug 2014 00:47:46 +0000 (04:47 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 1 Aug 2014 00:47:46 +0000 (04:47 +0400)
configure-sf

index f58937cceb453a9ec7fa47eaebf8019442dcd2d8..75ae13e9774b4d4169cd3b3d2ba83f889d48da07 100755 (executable)
@@ -28,5 +28,5 @@ if [ -n "$maxlines" ]; then
 fi &&
 git config hooks.emailprefix "$prefix" &&
 git config hooks.envelopesender noreply@sourceforge.net &&
-#git config hooks.showrev "t=%s; printf 'http://$PROJECTNAME.git.sourceforge.net/git/gitweb.cgi?p=$PROJECTNAME/$REPONAME;a=commitdiff;h=%%s' \$t; echo;echo; git show -C \$t; echo"
 git config hooks.mailinglist $MLIST@lists.sourceforge.net &&
+exec git config hooks.showrev "t=%s; printf 'http://sourceforge.net/p/$PROJECTNAME/$REPONAME/ci/%%s' \$t; echo;echo; git show -C \$t; echo"