speed of git reset -- file
- From
Joey Hess <joey@kitenet.net>
- Date
- May 31, 2011, 19:00 UTC
- Message-ID
- <20110531190015.GA12113@gnu.kitenet.net>
I'd expect that resetting a single file would need to update the index, reading some objects from .git to do it.
But according to strace, it also stats every file in the working tree. I have lots of files, and so that is very slow. Is it really necessary?
git version 1.7.5.1
-- see shy jo