diff options
author | Jeff King <peff@peff.net> | 2014-05-01 21:06:57 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-02 14:12:27 -0700 |
commit | 4701026352ada1ebc36532272ca1e12897b1de11 (patch) | |
tree | 1a8b1a942ea29355c591c22a80f09b9ddb00ed87 /builtin/write-tree.c | |
parent | Git 2.0-rc2 (diff) | |
download | tgif-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/write-tree.c')
0 files changed, 0 insertions, 0 deletions