Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
print warning/error/fatal messages in one shot
[gitweb.git]
/
contrib
/
hooks
/
post-receive-email
diff --git
a/contrib/hooks/post-receive-email
b/contrib/hooks/post-receive-email
index cbbd02fadd753215b3477c178b74d79a59424ee7..28a06c7f381f9386c6f715e6c3ab89f361d12bc2 100644
(file)
--- a/
contrib/hooks/post-receive-email
+++ b/
contrib/hooks/post-receive-email
@@
-323,7
+323,7
@@
generate_update_branch_email()
echo " via $rev ($revtype)"
done
- if [
-z "$fast
forward" ]; then
+ if [
"$fast_
forward" ]; then
echo " from $oldrev ($oldrev_type)"
else
# 1. Existing revisions were removed. In this case newrev is a