Re: Consistency question

2014-01-17 Thread Mike Hommey
On Wed, Jan 15, 2014 at 06:13:30AM -0500, Jeff King wrote: > On Wed, Jan 15, 2014 at 11:37:08AM +0100, David Kastrup wrote: > > > The question is what guarantees I have with regard to the commit date of > > a commit in relation to that of its parent commits: > > > > a) none > > b) commitdate(chil

Re: Consistency question

2014-01-15 Thread Andreas Krey
On Wed, 15 Jan 2014 14:00:30 +, David Kastrup wrote: > Andreas Krey writes: ... > > Hmm, how about traversing from all the start commits downwards > > simultaneously, noting which start you say each commit from, and stopping > > when you have a commit carrying all start labels? > > It means t

Re: Consistency question

2014-01-15 Thread David Kastrup
Andreas Krey writes: > On Wed, 15 Jan 2014 12:40:29 +, David Kastrup wrote: > ... >> With a single root, "depth" helps a lot. When looking for a common >> parent of a number of commits, you first shorten all ancestries to the >> same size and then you can look for the point of convergence in

Re: Consistency question

2014-01-15 Thread Andreas Krey
On Wed, 15 Jan 2014 12:40:29 +, David Kastrup wrote: ... > With a single root, "depth" helps a lot. When looking for a common > parent of a number of commits, you first shorten all ancestries to the > same size and then you can look for the point of convergence in > lockstep. Hmm, how about t

Re: Consistency question

2014-01-15 Thread David Kastrup
Jeff King writes: > There are some parts of the code that will behave badly with clock skew. > For example, "--since" will stop traversing when we hit a certain point. > It requires a fixed number of "too old" commits before quitting, though, > in an attempt to bypass small runs of skewed clocks.

Re: Consistency question

2014-01-15 Thread David Kastrup
Jeff King writes: > On Wed, Jan 15, 2014 at 11:37:08AM +0100, David Kastrup wrote: > >> The question is what guarantees I have with regard to the commit date of >> a commit in relation to that of its parent commits: >> >> a) none >> b) commitdate(child) >= commitdate(parent) >> c) commitdate(chi

Re: Consistency question

2014-01-15 Thread Jeff King
On Wed, Jan 15, 2014 at 11:37:08AM +0100, David Kastrup wrote: > The question is what guarantees I have with regard to the commit date of > a commit in relation to that of its parent commits: > > a) none > b) commitdate(child) >= commitdate(parent) > c) commitdate(child) > commitdate(parent) a)