diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-04 12:41:35 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-04 17:04:45 -0700 |
commit | 3ff8cbeda635422f4740d325d56288dfdea10179 (patch) | |
tree | 9eec9ff9326032bca405a12a265918725edf4ac7 /git-format-patch.sh | |
parent | a567d3154ec05dd991abf50389eacc36bfc25965 (diff) | |
download | git-3ff8cbeda635422f4740d325d56288dfdea10179.tar.gz |
Record which tree the patch applies to.
Also note which version of GIT produced the patch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-x | git-format-patch.sh | 3 |
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) |