aboutsummaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-05-01 21:06:57 -0400
committerJunio C Hamano <gitster@pobox.com>2014-05-02 14:12:27 -0700
commit4701026352ada1ebc36532272ca1e12897b1de11 (patch)
tree1a8b1a942ea29355c591c22a80f09b9ddb00ed87 /pretty.c
parentb4f86a4ce85e4e370a67455de6586a02f158a789 (diff)
downloadgit-4701026352ada1ebc36532272ca1e12897b1de11.tar.gz
git-4701026352ada1ebc36532272ca1e12897b1de11.tar.xz
commit: use split_ident_line to compare author/committer
Instead of string-wise comparing the author/committer lines with their timestamps truncated, we can use split_ident_line and ident_cmp. These functions are more robust than our ad-hoc parsing, though in practice it should not matter, as we just generated these ident lines ourselves. However, this will also allow us easy access to the timestamp and tz fields in future patches. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
0 files changed, 0 insertions, 0 deletions