It's kind of irritating to me, as not that long-time a git user (don't
shoot me; I spent years and years primarly on a project that used one of
the DVCS alternatives to git from a time when we still thought there
were any actual alternatives) that with the use of gerrit to review
patches there are sometimes long gaps before a patch goes through, which
results in some vaguely misleading information from git. Consider:

$ git log
commit 932638ede757aa7feef4a85303af456543532a0d (HEAD ->
refs/heads/master, refs/remotes/origin/master, refs/remotes/origin/HEAD)
Author: Soemin Tjong <stjong at microsoft.com>
Date:   Tue Feb 28 21:39:06 2017 -0800

    Add completion callback to IPCACloseHandle().

    This addresses the scenario where the app needs to be certain when all
    callbacks related to the handle it is closing are completed.

    Change-Id: I75b211d477405be27c6c804bc89e529088aa1a90
    Signed-off-by: Soemin Tjong <stjong at microsoft.com>
    Reviewed-on: https://gerrit.iotivity.org/gerrit/18217
    Tested-by: jenkins-iotivity <jenkins at iotivity.org>
    Reviewed-by: Dan Mihai <Daniel.Mihai at microsoft.com>

...


Wait, what?  It's April 16, and the most recent patch is dated Feb 28?

I finally got irritated enough to go dig a bit and find out git stores
both an "author date" and a "commit date", so the info I wanted on what
has happened recently is there all right, just have to tease it out, for
example:

$ git log --format=fuller
commit 932638ede757aa7feef4a85303af456543532a0d (HEAD ->
refs/heads/master, refs/remotes/origin/master, refs/remotes/origin/HEAD)
Author:     Soemin Tjong <stjong at microsoft.com>
AuthorDate: Tue Feb 28 21:39:06 2017 -0800
Commit:     Dan Mihai <Daniel.Mihai at microsoft.com>
CommitDate: Sat Apr 15 17:44:51 2017 +0000

It just happens the commit date is what I was interested in, and the
author date - which could be ages ago when a commit was first made to a
git tree by the author - is the one "git log" shows by default.


I don't know if this has confused anyone else... if so, is there some
advice we could write up in the wiki on knowing what dates are in play?



Reply via email to