From: Junio C Hamano Date: Wed, 21 Sep 2005 18:34:01 GMT Subject: Re: Unexpected behavior in git-rev-list Message-ID: <7vfyryw9ra.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > It might be best not being done by git-rev-list, but by a specialized > program. However, the advantage of doing it in git-rev-list is that then > things like "git log" and "gitk" would automatically take advantage of it, > ie you could say > > gitk v2.6.12.. drivers/char/ > > and it would show a "cut-down" revision tree that only contained the stuff > that changed anything in drivers/char/. Wouldn't gitk get confused by the sparse set of commits your rev-list feeds it, when it tries to draw ancestry lines and find many commits missing in between them? Ah, you told him to use 'rev-list --parents' and you can rewrite the list of parents there -- clever.