Re: git ls-files wildcard behavior considered harmful
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Mar 30, 2015, 23:24 UTC
- Message-ID
- <20150330232424.GD22844@google.com>
- In-Reply-To
- <20150330230459.GA13927@kitenet.net>
Hi Joey,
Joey Hess wrote:
Show 5 quoted lines
> Since I wanted to avoid this wildcard expension, I tried slash-escaping > the wildcard characters. This works: > > joey@darkstar:~/tmp/aaa>git ls-files 'foo\*bar' > foo*bar
Does 'git --noglob-pathspecs' help?
Curious, Jonathan