summaryrefslogtreecommitdiff
path: root/src/commit_list.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-10-14 16:49:01 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-10-14 16:54:13 +0200
commit5ffdea6f65bb105c17a1c4730d51732e3391bf63 (patch)
tree84076a2c3b345128dd3b31db2fdcf443d47fdb62 /src/commit_list.h
parentd8dc2b8f54cdf7d707c6a552175dc0d619dc230e (diff)
downloadlibgit2-5ffdea6f65bb105c17a1c4730d51732e3391bf63.tar.gz
revwalk: make commit list use 64 bits for timecmn/quick-parse-64
We moved the "main" parsing to use 64 bits for the timestamp, but the quick parsing for the revwalk did not. This means that for large timestamps we fail to parse the time and thus the walk. Move this parser to use 64 bits as well.
Diffstat (limited to 'src/commit_list.h')
-rw-r--r--src/commit_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit_list.h b/src/commit_list.h
index 6b3f473d3..b1d88e016 100644
--- a/src/commit_list.h
+++ b/src/commit_list.h
@@ -22,7 +22,7 @@
typedef struct git_commit_list_node {
git_oid oid;
- uint32_t time;
+ int64_t time;
unsigned int seen:1,
uninteresting:1,
topo_delay:1,