diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-04-19 10:46:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-19 13:01:49 -0700 |
commit | 580fb25b7a941267aad747afdc74b9b4a42e154a (patch) | |
tree | 1a84ed3b7b0dcf78191474bda6e31a675ed82523 /t/t6014-rev-list-all.sh | |
parent | patch-id: extract parsing one diff out of generate_id_list (diff) | |
download | tgif-580fb25b7a941267aad747afdc74b9b4a42e154a.tar.xz |
patch-id: Add support for mbox format
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, or likely by the MIME boundary.
This patch adds hunk parsing logic to git patch-id in order to detect an
out of place "-" line and split the patch when it comes. In addition,
commit ids in the "From " lines are considered and printed in the output.
Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6014-rev-list-all.sh')
0 files changed, 0 insertions, 0 deletions