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.