Re: Git pathspecs difference in behavior between linux (wsl) and windows

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

 



Am 13.05.21 um 22:08 schrieb Junio C Hamano:
> Johannes Sixt <j6t@xxxxxxxx> writes:
> 
>> Am 13.05.21 um 11:31 schrieb Alexandre Remy:
>>> I have an additional question, does double-quotes be safely used in
>>> both windows (that's ok) and linux shell  for pathspecs (git status --
>>> "src/test.js") in case of spaces in the path?
>>
>> They can be used in both POSIX shell and Windows CMD and, I would
>> assume, also in the PowerShell. Note though, that there are subtle
>> differences when other special characters occur between double-quotes,
>> notably the backslash. Please use your favorite search engine to learn more.
> 
> And a dollar sign, in addition to the backslash?

Granted, there's not a subtle, but a big difference how the dollar sign
is treated ;) but I don't want to write a tutorial here. Hence, my hint
towards a search engine.

-- Hannes



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

  Powered by Linux