You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Casual investigation suggests that this is because get_commit_parents runs git log and is not expecting to see the signature in the output.
Unfortunately there doesn't seem to be an inverse of --show-signature and specifying --pretty doesn't seem to prevent the sig showing up in the output of git log. Perhaps imerge could disable this option in local config for the duration of the imerge? or use a more sophisticated way to query parents?
The text was updated successfully, but these errors were encountered:
The core of the problem is that git-imerge uses the "porcelain" command, git log, rather than the corresponding "plumbing" command, git rev-list. (That, in turn, is because git rev-list is broken when used with --pretty.) The output of git log, being "porcelain", is not guaranteed to be stable across Git versions.
That being said, I think we can fix this particular problem by always invoking git log with an additional option to disable signature display:
git -c log.showsignature=false log [...]
NB: the new option has to come between git and log, not after log.
Do you want to try to figure out where in git-imerge that option needs to be added and submit a pull request?
Casual investigation suggests that this is because
get_commit_parents
runsgit log
and is not expecting to see the signature in the output.Unfortunately there doesn't seem to be an inverse of
--show-signature
and specifying--pretty
doesn't seem to prevent the sig showing up in the output ofgit log
. Perhaps imerge could disable this option in local config for the duration of the imerge? or use a more sophisticated way to query parents?The text was updated successfully, but these errors were encountered: