Re: git-rev-list: add "--dense" flag
- From
Petr Baudis <pasky@suse.cz>
- Date
- Oct 22, 2005, 00:37 UTC
- Message-ID
- <20051022003733.GA8351@pasky.or.cz>
- In-Reply-To
- <Pine.LNX.4.64.0510211631400.10477@g5.osdl.org>
Dear diary, on Sat, Oct 22, 2005 at 01:40:54AM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> told me that...
Show 5 quoted lines
> When we use a path filter to git-rev-list, the new "--dense" flag asks > git-rev-list to compress the history so that it _only_ contains commits > that change files in the path filter. It also rewrites the parent > information so that tools like "gitk" will see the result as a dense > history tree.
There is no documentation for the --dense flag and it is even missing from the usage string.
But my main concern is - will it be possible to do the rename detection here as well? Using --dense instead of explicit diff-tree calls in cg-log would be nice optimization, but I was about to add support for optional following of renames for cg-log <filename>. That's really pretty useful to have, every time I hit the Junio's big scripts rename I keep repeating that to myself. ;-) Now when core GIT got the comfort of per-file history, I only hope that it will start to annoy you as well.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.