Re: [PATCH] config --get --path: check for unset $HOME

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

 



On Mon, Jul 26, 2010 at 10:06:51 -0500, Jonathan Nieder wrote:

> If $HOME is unset (as in some automated build situations),
> currently
> 
> 	git config --path path.home "~"
> 	git config --path --get path.home
> 
> segfaults.  Error out with
> 
> 	Failed to expand user dir in: '~/'
> 
> instead.
> 
> Reported-by: Julien Cristau <jcristau@xxxxxxxxxx>
> Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx>

Tested-by: Julien Cristau <jcristau@xxxxxxxxxx>

Thanks!

Cheers,
Julien
--
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]