Re: strange git delays
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