I was expecting 'git log --after' to show me commits after a given date 
time. What it does is includes the commit at the time stamp provided, why 
is that? Is this a bug?

example - I've kept track of the date of my last commit by doing the 
following:

git show -s --format="%ci" <a commit hash>

which gives me a date like this:

YYYY-MM-DD HH:MM:SS Z

Then I was thinking I could get the commit log after this by using the 
command:

git log --after="YYYY-MM-DD HH:MM:SS Z"


In the resulting output the commit referenced in 'a commit hash' above is 
included, which is not what I'd expect and makes working with the output 
more difficult afterward.

Is there a way to get a list of commits after another commit, using the 
other commit as a reference point or will it always included the previous 
commit I used as a reference point?

Cheers

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/odSD_Gj281MJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to