On Tue, Apr 08, 2008 at 07:42:08PM +0300, Teemu Likonen wrote:Yes, I see this behavior too. The --follow option disables parent rewriting, which gitk and "git log --graph" both rely on in this instance. Without --follow, the revision list is first pruned, and then the parents are rewritten to include only those in the pruned list. The revision walk then occurs only over the pruned list. With --follow, the revision list is not pruned, so parent rewriting doesn't happen (and even if it did, I don't think it would have any effect, since all commits are still in the list). Instead, the revision walk traverses all commits, but the log-tree/diff code simply doesn't print any output for commits that aren't relevant. I'm not familiar enough with the diff code to know the best way to fix this. One possible way might be to perform an extra revision walk in revision.c before the "real" walk occurs. This initial walk would perform all of the diff calculations performed by the real walk, but only for the purpose of pruning the list. Then parent rewriting could be done, and the "real" revision walk would only walk over the pruned list. -- Adam Simpkins adam@adamsimpkins.net -- 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
| Jeff Garzik | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Emmanuel Dreyfus | fixing send(2) semantics (kern/29750) |
| Christos Zoulas | Re: Melting down your network [Subject changed] |
| Juan RP | Changing the I/O scheduler on-the-fly |
| Emmanuel Dreyfus | Re: fixing send(2) semantics (kern/29750) |
