diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-18 14:19:09 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-18 14:19:09 +0900 |
commit | 0445bd7b556283339bb4f07d11114ff8e50515af (patch) | |
tree | 9f734aa73cd58ada73fe6a1f61bdfff41c1a5020 | |
parent | 6da2d14c8bd4105bd123dd82840915197f4c3442 (diff) | |
parent | 5554451de61cb90e530f30b96e62d455e1eff6a1 (diff) | |
download | git-0445bd7b556283339bb4f07d11114ff8e50515af.tar.gz git-0445bd7b556283339bb4f07d11114ff8e50515af.tar.xz |
Merge branch 'mg/timestamp-t-fix' into maint
A mismerge fix.
* mg/timestamp-t-fix:
name-rev: change ULONG_MAX to TIME_MAX
-rw-r--r-- | builtin/name-rev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c index c41ea7c2a..598da6c8b 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -253,7 +253,7 @@ static int name_ref(const char *path, const struct object_id *oid, int flags, vo struct commit *commit = (struct commit *)o; int from_tag = starts_with(path, "refs/tags/"); - if (taggerdate == ULONG_MAX) + if (taggerdate == TIME_MAX) taggerdate = ((struct commit *)o)->date; path = name_ref_abbrev(path, can_abbreviate_output); name_rev(commit, xstrdup(path), taggerdate, 0, 0, |