summaryrefslogtreecommitdiff
path: root/builtin/tag.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-05-01 21:06:57 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-02 14:12:27 -0700
commit4701026352ada1ebc36532272ca1e12897b1de11 (patch)
tree1a8b1a942ea29355c591c22a80f09b9ddb00ed87 /builtin/tag.c
parentGit 2.0-rc2 (diff)
downloadtgif-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 'builtin/tag.c')
0 files changed, 0 insertions, 0 deletions