X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-am.sh;h=202130f888bee14e73b8cc108f39f2da8a14d23b;hb=d03d820a8c4b1eada9528e95baf9f39607034b97;hp=b4d95f58c6f77e2b80a85be9b147351747926235;hpb=61947de909ae1fa6112a58a812c6202cd02d3549;p=git.git diff --git a/git-am.sh b/git-am.sh index b4d95f58c..202130f88 100755 --- a/git-am.sh +++ b/git-am.sh @@ -664,7 +664,7 @@ do sed -e '1,/^$/d' >"$dotest/msg-clean" echo "$commit" >"$dotest/original-commit" get_author_ident_from_commit "$commit" >"$dotest/author-script" - git diff-tree --root --binary "$commit" >"$dotest/patch" + git diff-tree --root --binary --full-index "$commit" >"$dotest/patch" else git mailinfo $keep $no_inbody_headers $scissors $utf8 "$dotest/msg" "$dotest/patch" \ <"$dotest/$msgnum" >"$dotest/info" ||