Re: [PATCH] t1308: do not get fooled by symbolic links to the source tree

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

 



On Fri, Jun 03, 2016 at 08:05:56AM +0200, Johannes Sixt wrote:

> > -	name=$(pwd)/.gitconfig
> > +	name=$HOME/.gitconfig
> 
> I haven't tested this, yet, but my guess is that this breaks on Windows:
> test-config will produce C:/foo style path, but the updated test would
> expect /c/foo style path. Dscho, do you have an idea how to fix this?

Hmm. This should come directly from expand_user_path("~/.gitconfig")
which prepends the literal contents of the $HOME variable. It does go
through convert_slashes() afterwards, but I don't see any other
massaging (but I won't be surprised when you tell me there is some that
happens behind the scenes).

-Peff
--
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]