@rdg Yes, but the weird thing here is that it stops at a commit from last week instead of last month (this is on the Guix repo). I’m not sure if it’s a bug or something special about this particular commit sequence.

Follow

@civodul @rdg@mastodon.technology

Note that there are (at least) two different dates for each commit: the AuthorDate and the CommitDate which may be different. Use e.g. --pretty=fuller to see both dates listed.

It appears that git uses the CommitDate to decide what falls within "last month" when using options like --since=last-month but the date shown by "git log" by default is the AuthorDate, so that is confusing. But I'm sure git developers would consider this not a bug, but a feature. 😉

@eliasr @rdg Oh right, thanks for the tip! Turns out the next commit (ae3e6ba506f57a4353f491242a3f5e4d419f9aa9 in Guix) has its CommitDate indeed more than one month ago, but its AuthorDate is last week. Mystery solved!

But yeah, it’s kinda confusing that ‘--since’ uses one date and ‘git log’ displays the other.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml