Re: topological index field for commit objects
- From
Stefan Beller <sbeller@google.com>
- Date
- Jun 29, 2016, 21:37 UTC
- Message-ID
- <CAGZ79kbjntaTQPNdw9u07AJX3pTWdyKB1fiPqJZ=DZRzNvnKzg@mail.gmail.com>
- In-Reply-To
- <CAGZ79kZNnbrKFaKGchZ0r5wKCs7pz4RcyYq=0rnD5qSd8XDKXw@mail.gmail.com>
On Wed, Jun 29, 2016 at 1:54 PM, Stefan Beller <sbeller@google.com> wrote:
> Chances are that the 10 years of history may be correct time wise as long > as people don't introduce a bad date malevolently. >
To answer my own speculation: Even git.git violates the timing property, so there is no hope to find many projects to have "parents committer date < committer date"
$ git log --format="%H %ct %P" HEAD | {Show 10 quoted lines
> while read sha sha_date parents ; do > for p in $parents ; do > # echo "$id, $parents, $p" > pd=$(git show -s --format="%ct" $p) > if test $pd -gt $sha_date ; then > echo $sha > fi > done > done > }
619a644d6daef56d70aeca85514e2d281eb483a5 776398709dee4050fc194fec45c5818ba9b01afe ed19f367220a50e4e2a5c1a00b03c14eafcaba89
(out of curiosity these are:) (2009-10-18 12:34:56, "checkout A...B" switches to the merge base between A and B) (2007-09-01 23:53:47, Keep last used delta base in the delta window) (2006-03-03 23:29:56, Add a Documentation/git-tools.txt)