summaryrefslogtreecommitdiff
path: root/contrib/hooks/post-receive-email
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-18 07:11:17 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-18 07:11:17 (GMT)
commite75c55844fd0ff96d00173574b1e49cc472ca928 (patch)
tree1146c04d598cdb0857e9072e82eee2338f8ee4a4 /contrib/hooks/post-receive-email
parent8f353ee57a2f79697f8dea80ad3174998586bc75 (diff)
parent1aa3d01f870a68dc46a872c83f9cd051f172f9b3 (diff)
downloadgit-e75c55844fd0ff96d00173574b1e49cc472ca928.zip
git-e75c55844fd0ff96d00173574b1e49cc472ca928.tar.gz
git-e75c55844fd0ff96d00173574b1e49cc472ca928.tar.bz2
Merge branch 'maint'
* maint: Yet more 1.5.3.5 fixes mentioned in release notes cvsserver: Use exit 1 instead of die when req_Root fails. git-blame shouldn't crash if run in an unmerged tree git-config: print error message if the config file cannot be read fixing output of non-fast-forward output of post-receive-email
Diffstat (limited to 'contrib/hooks/post-receive-email')
-rw-r--r--contrib/hooks/post-receive-email2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index b188aa3..2aa9bb5 100644
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -331,7 +331,7 @@ generate_update_branch_email()
echo " via $rev ($revtype)"
done
- if [ -z "$fastforward" ]; then
+ if [ "$fast_forward" ]; then
echo " from $oldrev ($oldrev_type)"
else
# 1. Existing revisions were removed. In this case newrev is a