Re: git ls-files wildcard behavior considered harmful
- From
Joey Hess <id@joeyh.name>
- Date
- Mar 30, 2015, 23:36 UTC
- Message-ID
- <20150330233614.GA17089@kitenet.net>
- In-Reply-To
- <CACsJy8BDoXHS6nj7pEe0i8T=bMD8aG5FwuXABKgPOQBeMOr+Vw@mail.gmail.com>
Duy Nguyen wrote:
> You can do "git --literal-pathspecs ls-files ..." or set GIT_LITERAL_PATHSPECS.
Thanks! --literal-pathspecs does allow getting around this.
Now I'm wondering what other parts of plumbing might be doing globbing that I did not anticipate. Maybe I should set the environment variable so I don't need to worry about it..
-- see shy jo