Re: Case sensitivity on Windows for absolute paths.

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

 



Hi Johannes,

$ cd /c/uk-org-netvu/

Ricky@RICKY-XP /c/uk-org-netvu (trunk)
$ cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\uk-org-netvu>

If I run cmd via Start -> Run, then the prompt shows C:\uk-org-netvu>

I also verified this using the Scala interpreter, printing out
System.getProperty("user.dir"), which varied similarly in case
depending on whether I started it from cmd or from Git Bash.

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clarkson@xxxxxxxxx
Google Wave: ricky.clarkson@xxxxxxxxxxxxxx



On 25 April 2010 19:08, Johannes Sixt <j6t@xxxxxxxx> wrote:
> On Sonntag, 25. April 2010, Ricky Clarkson wrote:
>> It would be good if git automatically uppercased the drive letter,
>> yes.  However, I found the real root of my problem.  Git Bash
>> (msysgit) sets the working directory to c:\foo for programs launched
>> if the working directory within it is /c/foo.
>
> I don't understand what you mean. Git Bash cannot influence whether git sees
> the drive letter in the working directory in uppercase or lowercase. Unless
> by "working directory" you mean something else than what getcwd() returns.
>
> -- Hannes
>
--
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]