Re: cygwin, 44k files: how to commit only index?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 7, 2006, 19:16 UTC
- Message-ID
- <7vd56vtt2g.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <81b0412b0612070627r3ff0b394s124d95fbf8084f16@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
Show 8 quoted lines
> I have a kind of awkward project to work with (~44k files, many binaries). > > The normal "git commit", which seem to be more than enough > for anything and anyone else, is a really annoying procedure > in my context. It spend too much time refreshing index and > generating list of the files for the commit message. > > At first I stopped using git commit -a (doing only update-index),
I am not sure what you are trying. Do you mean stat() is slow on your filesystem?
> Is there any simple way to modify git commit for such a workflow? > Failing that, any simple and _fast_ way to find out if the index > is any different from HEAD? (so that I don't produce empty commits).
Maybe you want "assume unchanged"?