From 9a8f0beb7ae0554c882106791645d35c02ad58e7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 27 Jul 2014 00:38:32 +0400 Subject: [PATCH] Always set emailprefix even if it's empty Empty emailprefix is used to suppress prefix altogether. --- configure-sf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure-sf b/configure-sf index fb38125..796e510 100755 --- a/configure-sf +++ b/configure-sf @@ -3,7 +3,7 @@ # Origin: http://blog.gorwits.me.uk/index.html%3Fp=529.html if [ -z "$3" ]; then - echo "Usage: $0 PROJECTNAME REPONAME MLIST [prefix [maxlines]]" >&2 + echo "Usage: $0 PROJECTNAME REPONAME MLIST prefix [maxlines]" >&2 exit 1 fi @@ -27,9 +27,7 @@ git config hooks.diffopts "--stat --summary --find-copies-harder -p" if [ -n "$maxlines" ]; then git config hooks.emailmaxlines "$maxlines" && fi && -if [ -n "$prefix" ]; then - git config hooks.emailprefix "$prefix" -fi && +git config hooks.emailprefix "$prefix" && git config hooks.envelopesender noreply@sourceforge.net && git config hooks.mailinglist $MLIST@lists.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" -- 2.39.5