diff options
| author | Ramkumar Ramachandra <artagnon@gmail.com> | 2010-06-03 22:28:55 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-06-07 15:52:43 -0700 |
| commit | c5043cc18579854681aa51ddb6e744fe2db24f51 (patch) | |
| tree | d2119d4979b7ccd70f78409f32fc1b1d950c34d5 /builtin/commit.c | |
| parent | git svn: fix empty directory creation (diff) | |
| download | git-c5043cc18579854681aa51ddb6e744fe2db24f51.tar.gz git-c5043cc18579854681aa51ddb6e744fe2db24f51.zip | |
Refactor parse_date for approxidate functions
approxidate_relative and approxidate_careful both use parse_date to
dump the timestamp to a character buffer and parse it back into a long
unsigned using strtoul(). Avoid doing this by creating a new
parse_date_toffset method.
Noticed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
