Thread (5 messages) flat view 5 messages, 3 authors, 2016-08-11

Re: cygwin, 44k files: how to commit only index?

From: Alex Riesen <hidden>
Date: 2016-08-11 20:24:34

Possibly related (same subject, not in this thread)

Junio C Hamano, Thu, Dec 07, 2006 23:29:54 +0100:
quoted
But aside from me trying ignoreState, can anyone help me with that
question regarding checking if the index is any different from HEAD?
Comparing index and HEAD should be cheap on a system with slow
lstat(), I think, as "git-diff-index --cached HEAD" should just
ignore the working tree altogether.  Is that what you want?
yes, except that it'll compare the whole trees. Could I make it stop
at first mismatch? "-q|--quiet" for git-diff-index perhaps?
It's just not only stat, but also, open, read, mmap (yes, I try to use
it for packs) and close are really slow here as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help