Subject: speed of git reset -- file

From: Joey Hess <[email-masked]>
Date: Tue, 31 May 2011 15:00:15 -0400

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