git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git commit <path> scanning entire working tree?
@ 2009-02-16 22:58 skillzero
  2009-02-17  0:28 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: skillzero @ 2009-02-16 22:58 UTC (permalink / raw)
  To: git

When I do a 'git commit <path to a single file>', git seems to scan
the entire working tree. Since my tree is relatively large (and when
on Windows, stat'ing is even slower), it takes quite a while (5 or so
seconds) before I can even edit the commit message.

Is there a reason it needs to scan like this when the commit command
specifies a specific path? It seems like it would only need to scan
the path I've specified.

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

end of thread, other threads:[~2009-02-18  2:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 22:58 git commit <path> scanning entire working tree? skillzero
2009-02-17  0:28 ` Junio C Hamano
2009-02-17  2:57   ` Boyd Stephen Smith Jr.
2009-02-17  3:37   ` skillzero
2009-02-17  5:50     ` Boyd Stephen Smith Jr.
2009-02-17  7:12     ` Junio C Hamano
2009-02-18  2:25       ` skillzero

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).