Bug or unexpected behaviour in git show <rev>:a\b

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

 



Hi!

As part of some experiments on running git on Windows, I found
something unexpected. If I use e.g. bash to run the following in a
repository:

git show HEAD:a\\b

the command stalls for a short while and then exits with 0 and prints
nothing on stdout. I've verified this on git 2.25.0 and 2.21.0. I
would have expected either "fatal: Path 'a\b' does not exist in
'HEAD'" or something of that nature. Nothing in "man git revisions"
hint that backslash is treated specially. Is this a bug or is it an
undocumented feature?

Best regards,
  David Burström




[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