Merge branch 'maint'
[gitweb.git] / contrib / hooks / post-receive-email
index b188aa3d67eda77b168c61a53162a25abcc56e7d..2aa9bb501c2768770d8aed5de93dda8afc29b427 100644 (file)
@@ -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