summaryrefslogtreecommitdiff
path: root/git-format-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-xgit-format-patch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh
index 2844799535..9378219d84 100755
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
@@ -212,7 +212,10 @@ Date: '"$ad"
echo
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
echo
+ git-cat-file commit "$commit^" | sed -e 's/^tree /applies-to: /' -e q
git-diff-tree -p $diff_opts "$commit"
+ echo "---"
+ echo "@@GIT_VERSION@@"
case "$mbox" in
t)