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
Thomas Rast <trast@student.ethz.ch>
Date
Nov 2, 2008, 14:13 UTC
Message-ID
<200811021514.00057.trast@student.ethz.ch>
In-Reply-To
<1225634894605-1445352.post@n2.nabble.com>
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.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: 13renNext: Brendan Macmillan
Message 2 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.