summaryrefslogtreecommitdiff
path: root/t/t5702-clone-options.sh
diff options
context:
space:
mode:
authorLibravatar Paolo Bonzini <bonzini@gnu.org>2010-04-19 10:46:14 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-04-19 13:01:49 -0700
commit580fb25b7a941267aad747afdc74b9b4a42e154a (patch)
tree1a84ed3b7b0dcf78191474bda6e31a675ed82523 /t/t5702-clone-options.sh
parentpatch-id: extract parsing one diff out of generate_id_list (diff)
downloadtgif-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/t5702-clone-options.sh')
0 files changed, 0 insertions, 0 deletions