Re: "sha1 information is lacking or useless" when rebasing with a submodule pointer conflict
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 1, 2013, 04:01 UTC
- Message-ID
- <7vboc4d6ni.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130130224904.GB1053@book.hvoigt.net>
Heiko Voigt <hvoigt@hvoigt.net> writes:
> Maybe Martin or Junio immediately see whats going wrong here? I would > need to further dig into the git-am code to find out how to fix it.
Thanks. I think the minimum fix is this, but there are some nits to pick around this area as well.
diff --git b/git-am.sh a/git-am.sh index b4d95f5..202130f 100755 --- b/git-am.sh +++ a/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" ||