summaryrefslogtreecommitdiff
path: root/builtin/blame.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-04-17 18:33:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-17 21:50:36 (GMT)
commit9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9 (patch)
tree33f0fa1c74b943e2b3c719aac584495a7d6619e8 /builtin/blame.c
parent9cfa5126a0bdb47bc9c6d5feb76bb0fbfd40785b (diff)
downloadgit-9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9.zip
git-9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9.tar.gz
git-9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9.tar.bz2
pretty: handle broken commit headers gracefully
Centralize the parsing of the date and time zone strings in the new helper function show_ident_date() and make sure it checks the pointers provided by split_ident_line() for NULL before use. Reported-by: Ivan Lyapunov <dront78@gmail.com> Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/blame.c')
0 files changed, 0 insertions, 0 deletions