summaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-06 12:21:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-01-07 02:41:43 (GMT)
commitf7ab5c793707082d41e19093f536cdc0d45d8830 (patch)
treed754745b47aa69a50130c0f1d2f37a8d9f01e2fc /quote.h
parent5682694a3c1f272f230301f2b11a834a141d1efe (diff)
downloadgit-f7ab5c793707082d41e19093f536cdc0d45d8830.zip
git-f7ab5c793707082d41e19093f536cdc0d45d8830.tar.gz
git-f7ab5c793707082d41e19093f536cdc0d45d8830.tar.bz2
custom pretty format: tolerate empty e-mail address
When e-mail address is empty (e.g. "A U Thor <>"), --pretty=format misparsed the commit header and did not pick up the date field correctly. Noticed by Marco, fixed slightly differently with additional sanity check and with a test. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.h')
0 files changed, 0 insertions, 0 deletions