git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: strange git delays

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 20, 2008, 14:05 UTC
Message-ID
<47E26F26.10301@viscovery.net>
In-Reply-To
<1206019968.27619.26.camel@localhost>
James Utter schrieb:
Show 6 quoted lines
> Many git operations are running really slowly for me.
> For example 'git commit' and 'git branch' are taking 10 seconds to
> complete, even on an almost empty repository, and no longer on a 60MB
> repository with plenty of history.
> 
> There does not appear to be any CPU or disk activity caused by git.
...
Show 8 quoted lines
> james@timesink:~/testgit$ time git commit --message "initial commit"
> Created initial commit 4f4b3a3: initial commit
>  1 files changed, 1 insertions(+), 0 deletions(-)
>  create mode 100644 hello
> 
> real	0m10.008s
> user	0m0.000s
> sys	0m0.008s
What does
  strace -c git commit --message "initial commit"
report? 'strace -tt' or 'strace -T'?
-- Hannes
Previous: James UtterNext: Johannes Schindelin
Message 2 of 4 in “strange git delays”
  1. James UtterMar 20, 2008
  2. Johannes SixtMar 20, 2008
  3. Johannes SchindelinMar 20, 2008
  4. Linus TorvaldsMar 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.