summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-04-19 08:46:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-19 20:01:49 (GMT)
commit580fb25b7a941267aad747afdc74b9b4a42e154a (patch)
tree1a84ed3b7b0dcf78191474bda6e31a675ed82523 /color.h
parent9ae144fbf2648a52da1cc5269918931b328180f9 (diff)
downloadgit-580fb25b7a941267aad747afdc74b9b4a42e154a.zip
git-580fb25b7a941267aad747afdc74b9b4a42e154a.tar.gz
git-580fb25b7a941267aad747afdc74b9b4a42e154a.tar.bz2
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 'color.h')
0 files changed, 0 insertions, 0 deletions