Re: New features in gitk
- From
Paul Mackerras <paulus@samba.org>
- Date
- Oct 28, 2007, 07:11 UTC
- Message-ID
- <18212.13862.637991.30536@cargo.ozlabs.ibm.com>
- In-Reply-To
- <alpine.LFD.0.999.0710272229430.30120@woody.linux-foundation.org>
Linus Torvalds writes:
> However, that crazy green bar chasing back-and-forth int he "reading" > phase is really quite visually distracting. Maybe it looks better in > Tk8.5, but it does look pretty annoying in the version I have. Can you > tone that down a bit?
Yeah. Actually what I'd like is to know how many commits git log is going to give me, so that I can do a normal progress bar whose length is proportional to commits_read / total_commits. With --topo-order (or --date-order) it has to get to the last commit before it outputs the first commit, doesn't it? So could it print the total number of commits on a line by itself at the start of its output? (Presumably it would need a --commit-count flag to enable that behaviour.)
Other than that, I could slow the progress bar down, or do a bar of moving diagonal stripes, or something.
Paul.