Suppose a git repo has 12 commits and 4 was created yesterday (let's say December 31st, 2199).
git log --oneline
will output:
9675a65 fix: a bug in feature B
041e1b2 feat: add feature B
d0f58e3 refactor: apply DPs to feature A
e933840 feat: add feature A
a6a235d chore: update version
...
f982bfd chore: initial commit
Expected behavior
From my understanding, if I run git log --since=1.day
today (January 1st, 2200) I should get an output including the last 4 commits from yesterday (in the example: from feat: add feature A to fix: a bug in feature B).
Actual behavior
But instead, I am getting only the last 3 commits (from refactor: apply DPs to feature A to fix: a bug in feature B). git log --since=1.day
is not including the first commit created yesterday in its output (the feat: add feature A).
Am I missing something here?