aboutsummaryrefslogtreecommitdiff
path: root/git-format-patch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-29 13:51:27 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-29 14:26:48 -0800
commita004d3f70f1c074f2d9bd55e7a925ff5916ebbeb (patch)
tree59b88d8febef9a7b7d0b05886109587cf7d5f863 /git-format-patch.sh
parent99e368b996d6fcc2383a4b385130a0cb70c164e2 (diff)
downloadgit-a004d3f70f1c074f2d9bd55e7a925ff5916ebbeb.tar.gz
git-a004d3f70f1c074f2d9bd55e7a925ff5916ebbeb.tar.xz
format-patch: do not abuse 3-dash marker line.
Before GIT version at the end of output we used a 3-dash marker; but 3-dash marker is special and should not be overused. Instead, use "-- " which is a standard practice in e-mails to signal the beginning of trailing garbage. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-xgit-format-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh
index a26d46dba..4cd38f34e 100755
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
@@ -239,7 +239,7 @@ Date: '"$ad"
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
echo
git-diff-tree -p $diff_opts "$commit"
- echo "---"
+ echo "-- "
echo "@@GIT_VERSION@@"
case "$mbox" in