summaryrefslogtreecommitdiff
path: root/ref-filter.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-08-21 20:54:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-21 21:08:18 (GMT)
commit1820703045f8974bc5320d08a3611f4e29c83bf9 (patch)
tree17b92e3c3a3a33f3bcb13eefdc8f2fb04876e2f2 /ref-filter.c
parent5589e87fd8d2a74201157dad34d66fdcf7ce41a3 (diff)
downloadgit-1820703045f8974bc5320d08a3611f4e29c83bf9.zip
git-1820703045f8974bc5320d08a3611f4e29c83bf9.tar.gz
git-1820703045f8974bc5320d08a3611f4e29c83bf9.tar.bz2
commit: use timestamp_t for author_date_slab
The author_date_slab is used to store the author date of a commit when walking with the --author-date flag in rev-list or log. This was added as an 'unsigned long' in 81c6b38b "log: --author-date-order" Since 'unsigned long' is ambiguous in its bit-ness across platforms (64-bit in Linux, 32-bit in Windows, for example), most references to the author dates in commit.c were converted to timestamp_t in dddbad72 "timestamp_t: a new data type for timestamps" However, the slab definition was missed, leading to a mismatch in the data types in Windows. This would not reveal itself as a bug unless someone authors a commit after February 2106, but commits can store anything as their author date. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
0 files changed, 0 insertions, 0 deletions