summaryrefslogtreecommitdiff
path: root/builtin/ls-files.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2013-04-17 20:33:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-17 14:50:36 -0700
commit9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9 (patch)
tree33f0fa1c74b943e2b3c719aac584495a7d6619e8 /builtin/ls-files.c
parentcat-file: print tags raw for "cat-file -p" (diff)
downloadtgif-9dbe7c3d7f4424cf0c27c2d4efabf72e58fa76b9.tar.xz
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/ls-files.c')
0 files changed, 0 insertions, 0 deletions