Re: git show doesn't work on file names with square brackets
- From
Kirill Likhodedov <kirill.likhodedov@jetbrains.com>
- Date
- Feb 7, 2016, 15:11 UTC
- Message-ID
- <32B9BD70-F06C-49C4-B672-24173E69B99F@jetbrains.com>
- In-Reply-To
- <CACsJy8ChZzYWXePSwF6D8vPZMuz3dQe1=jtw6rSG7M1oC+RiNw@mail.gmail.com>
Hi Duy,
> It's from 28fcc0b (pathspec: avoid the need of "--" when wildcard is > used - 2015-05-02)
v2.5.0 is the first release which contains 28fcc0b. I can confirm that older versions of Git work correctly without “--“:
# /opt/local/bin/git version git version 1.7.1.1 # /opt/local/bin/git show HEAD:bra[ckets].txt asd
Looks like a regression?