Paolo Bonzini <bonzini@xxxxxxx> writes: > I have an alias that takes two arguments and compares their patch IDs. > I would like to use to make sure I've tested exactly what I submit > (patch by patch), like > > git patch-cmp origin/master.. file-being-sent > > However, I cannot do that because git patch-id is fooled by the > "-- " trailer that git format-patch puts. > > This patch adds a bit of lookahead to git patch-id in order to detect > the trailer and split the patch when it comes. In addition, commit > ids in the "From " lines are considered and printed in the output. How well does this interact with mime encoded output? I somehow have a feeling that this is solving a wrong problem. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html