Re: [BUG] git-rev-list: --topo-order --boundary and --max-count

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Monday, March 5, 2007 - 3:39 am

"Santi Béjar" <sbejar@gmail.com> writes:


I think the code that does --boundary when the list is limited
with --max-count is not quite right, even without topo-order.
Only when the traversal is not limited, the code happens to work
correctly because in that case alone we pick up positive commits
one by one up to the specified count, and do not place anything
other than their immediate parents in the list.

It needs to find out commits (be they marked as UNINTERESTING or
not) still in the revs->commits that are _not_ reachable by any
other commits in the list, or something like that.

I suspect that would unfortunately be very expensive.  Dscho,
have better ideas?


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG] git-rev-list: --topo-order --boundary and --max- ..., Junio C Hamano, (Mon Mar 5, 3:39 am)
[PATCH] revision walker: Fix --boundary when limited, Johannes Schindelin, (Mon Mar 5, 11:55 am)
Re: [PATCH] revision walker: Fix --boundary when limited, Johannes Schindelin, (Mon Mar 5, 12:00 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Linus Torvalds, (Mon Mar 5, 12:39 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Linus Torvalds, (Mon Mar 5, 12:57 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Junio C Hamano, (Mon Mar 5, 2:10 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Johannes Schindelin, (Mon Mar 5, 4:17 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Junio C Hamano, (Mon Mar 5, 5:36 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Johannes Schindelin, (Mon Mar 5, 6:12 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Junio C Hamano, (Mon Mar 5, 6:32 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Johannes Schindelin, (Mon Mar 5, 6:44 pm)
Re: [PATCH] revision walker: Fix --boundary when limited, Junio C Hamano, (Mon Mar 5, 6:58 pm)