Git development
 help / color / mirror / Atom feed
From: 13ren <melbourne.research@gmail.com>
To: git@vger.kernel.org
Subject: commit takes 8 secs; but instant when offline - can I fix this?
Date: Sun, 2 Nov 2008 06:08:14 -0800 (PST)	[thread overview]
Message-ID: <1225634894605-1445352.post@n2.nabble.com> (raw)


Hi all,

With the network plugged in, git-commit takes 8 seconds.

When I unplug the network, commit is instant...

I confirmed this with a fresh test directory, just adding an extra line to
the file "test" for each commit:

> git init
Initialized empty Git repository in /home/user/gitexpt/.git/
> vi test
> git add *

> date; git commit -a -m "add minor change"; date
Mon Nov  3 00:31:02 EST 2008
Created commit 9b845a2: add minor change
 1 files changed, 2 insertions(+), 0 deletions(-)
Mon Nov  3 00:31:10 EST 2008

> date; git commit -a -m "add test, without network"; date
Mon Nov  3 00:46:00 EST 2008
Created commit dd02a69: add test, without network
 1 files changed, 3 insertions(+), 0 deletions(-)
Mon Nov  3 00:46:00 EST 2008

> git --version
git version 1.5.6.3

Anyone know why is git-commit so slow? Or if there I can anything to change
this?

I'd assumed the slowness was normal, since I'm new to version control. I've
googled and searched mailing lists, but haven't found this. Could be just my
installation (or others make the same assumption?)

Many thanks for any help... I'm going a little crazy here.


-- 
View this message in context: http://n2.nabble.com/commit-takes-8-secs--but-instant-when-offline---can-I-fix-this--tp1445352p1445352.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2008-11-02 14:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 14:08 13ren [this message]
2008-11-02 14:13 ` commit takes 8 secs; but instant when offline - can I fix this? Thomas Rast
2008-11-02 16:34   ` Brendan Macmillan
2008-11-02 19:18     ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1225634894605-1445352.post@n2.nabble.com \
    --to=melbourne.research@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox