git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* speed of git reset -- file
@ 2011-05-31 19:00 Joey Hess
  2011-05-31 21:26 ` Jeff King
  0 siblings, 1 reply; 17+ messages in thread
From: Joey Hess @ 2011-05-31 19:00 UTC (permalink / raw)
  To: GIT Mailing-list

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-06-02  4:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 19:00 speed of git reset -- file Joey Hess
2011-05-31 21:26 ` Jeff King
2011-05-31 21:54   ` Junio C Hamano
2011-05-31 22:13     ` Jeff King
2011-05-31 22:13     ` Matthieu Moy
2011-06-01  1:14       ` Nguyen Thai Ngoc Duy
2011-05-31 23:39   ` Junio C Hamano
2011-06-01 19:58     ` Jeff King
2011-06-01 20:16       ` Joey Hess
2011-06-01 21:18         ` Jeff King
2011-06-01 22:05           ` Joey Hess
2011-06-01 22:56             ` Jeff King
2011-06-01 23:31               ` Joey Hess
2011-06-02  3:18                 ` Jeff King
2011-06-02  4:36                   ` Joey Hess
2011-06-02  4:46                     ` Joey Hess
2011-06-01 20:51       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).