diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-04 21:41:35 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-05 02:04:45 +0200 |
commit | 3ff8cbeda635422f4740d325d56288dfdea10179 (patch) | |
tree | 9eec9ff9326032bca405a12a265918725edf4ac7 /git-format-patch.sh | |
parent | git-applypatch: cleanup. (diff) | |
download | git-3ff8cbeda635422f4740d325d56288dfdea10179.tar.xz git-3ff8cbeda635422f4740d325d56288dfdea10179.zip |
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 '')
-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) |