summaryrefslogtreecommitdiffstats
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-08-31 04:31:42 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-31 07:04:56 +0200
commit931e8e27d94dbc24abc9c969ae0b414e0361abff (patch)
treecd72a65adcd41a0805b74d1886ee9bae7bf2841d /xdiff-interface.h
parenttests: add date printing and parsing tests (diff)
downloadgit-931e8e27d94dbc24abc9c969ae0b414e0361abff.tar.xz
git-931e8e27d94dbc24abc9c969ae0b414e0361abff.zip
fix approxidate parsing of relative months and years
These were broken by b5373e9. The problem is that the code marks the month and year with "-1" for "we don't know it yet", but the month and year code paths were not adjusted to fill in the current time before doing their calculations (whereas other units follow a different code path and are fine). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions