Thread (1 message) 1 message, 1 author, 2018-08-21

Re: [PATCH] commit: use timestamp_t for author_date_slab

From: Junio C Hamano <hidden>
Date: 2018-08-21 21:05:24

Derrick Stolee [off-list ref] writes:
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,
Makes sense, and obviously correct.
I found this while reading up on the revision-walk machinery. This code
hasn't been touched in years, so could apply to 'maint'.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help