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

Re: commit takes 8 secs; but instant when offline - can I fix this?

From
BMBrendan Macmillan <melbourne.research@gmail.com>
Date
Nov 2, 2008, 16:34 UTC
Message-ID
<7d856ea50811020834n3a252ae2r21d36b24c10eebbf@mail.gmail.com>
In-Reply-To
<200811021514.00057.trast@student.ethz.ch>
Many thanks for the explanation, and it's now instant.
To ~/.gitconfig, I added:
[user]
  email = myemail@address.com
On 03/11/2008, Thomas Rast <trast@student.ethz.ch> wrote:
Show 8 quoted lines
> 13ren wrote:
>  > With the network plugged in, git-commit takes 8 seconds.
>  >
>  > When I unplug the network, commit is instant...
>
> Configure your user.email (and user.name), see man git-config.  If the
>  email is not set, Git tries to figure out your hostname, which
>  depending on DNS misconfigurations can apparently cause such delays.
Previous: Thomas RastNext: Linus Torvalds
Message 3 of 4 in “commit takes 8 secs; but instant when offline - can I fix this?”
  1. 13renNov 2, 2008
  2. Thomas RastNov 2, 2008
  3. Brendan MacmillanNov 2, 2008
  4. Linus TorvaldsNov 2, 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.