On Sat, Mar 06, 2010 at 01:13:32PM -0600, Jonathan Nieder wrote:
> clone 466015 -1
> retitle -1 gui: treat each untracked directory as a single unstaged change
> severity -1 wishlist
> thanks
> 
> Hi Josh,
> 
> Josh Triplett wrote:
> 
> > I keep some of my home directory in Git.  However, I also have
> > thousands of untracked files in the parts of my home directory I don't
> > have in Git.  Most of Git now handles this fine, with no performance
> > problems.  However, git-gui seems to search for all untracked files on
> > startup, which makes it unusably slow.
> 
> Sorry for the long silence.

No problem.

> Two questions (I am mostly curious):
> 
> 1. I take it ‘git status’ is fast enough?

~$ time git status > /dev/null

real    0m0.013s
user    0m0.008s
sys     0m0.004s

Yeah, I'd say so. :)

> 2. What do you think of current git gui’s approach to this?  I tried out
> 
>  GIT_DIR=~/src/git/.git GIT_WORK_TREE=~/src/linux-2.6 git gui
> 
> and apparently it just shows the first 5000 untracked files and then
> gives up. [1]  There was still a noticeable delay before I could use the
> program, but it was at least not painful.

Looks like current git gui reaches 5000 files reasonably quickly, and
then gives up.  That makes it no longer unusably slow, but of course
only showing about 1/6th of my home directory still makes it unhelpful,
and a linear list of 5000 files doesn't seem useful.

- Josh Triplett



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to