From: Johannes Schindelin Date: Thu, 02 Nov 2006 14:51:06 GMT Subject: Re: Minor documentation problems [RFC PATCH] Message-ID: In-Reply-To: Hi, On Thu, 2 Nov 2006, Sean wrote: > - else > + else if (!strcmp(argv[1], "--global")) { > + char *home = getenv("HOME"); > + if (home) { > + char *user_config = xstrdup(mkpath("%s/.gitconfig", home)); > + setenv("GIT_CONFIG", user_config, 1); > + free(user_config); > + } else { > + return -1; Micronit: might be useful to tell the user that she's homeless. Else: ACK. Ciao, Dscho