Re: Minor documentation problems [RFC PATCH]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]