summaryrefslogtreecommitdiff
path: root/Documentation/git-patch-id.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2013-04-17 20:33:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-17 14:50:45 -0700
commitde5abe9fe91a496d019d62abefe23df9d72fad30 (patch)
treeb7e96cb9f56afd1b82ad9a610c033f56254fc558 /Documentation/git-patch-id.txt
parentpretty: handle broken commit headers gracefully (diff)
downloadtgif-de5abe9fe91a496d019d62abefe23df9d72fad30.tar.xz
blame: handle broken commit headers gracefully
split_ident_line() can leave us with the pointers date_begin, date_end, tz_begin and tz_end all set to NULL. Check them before use and supply the same fallback values as in the case of a negative return code from split_ident_line(). The "(unknown)" is not actually shown in the output, though, because it will be converted to a number (zero) eventually. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-patch-id.txt')
0 files changed, 0 insertions, 0 deletions