* [Q] Where does "git commit -q -m msg" spend time?
@ 2022-11-18 23:37 Junio C Hamano
0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2022-11-18 23:37 UTC (permalink / raw)
To: git
On a slow filesystem it gets more noticeable, but I have been
wondering (without a debugger or a profiler, as I am supposed to be
on vacation) for the past few weeks why these two commands in the
same repository perform very differently:
$ git write-tree
$ git commit -q -m msg
Especially even after running the former, running the latter, which
I naïvely thought that it only needs to create a commit object with
"msg" and wrapping the result of the former (which is more-or-less
instant) into it, and do nothing else.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-19 0:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 23:37 [Q] Where does "git commit -q -m msg" spend time? 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).