Re: problem with backslash in directory name
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 7, 2017, 16:55 UTC
- Message-ID
- <CAGZ79ka7PEWy2iA8V9s11n2kyD=vHyS2y1K3SJzDq-5HsY7how@mail.gmail.com>
- In-Reply-To
- <20170407165314.GB142670@google.com>
Show 8 quoted lines
>> Probably it's "read" which does backslash expansion, but nothing else. >> Just grepping git-submodule.sh, some of the "read" calls should probably >> be "read -r" (I also don't know how some of those loops would cope with >> a submodule name that needed quoting). > > So I blindly converted all "read" calls to "read -r" and tested against > the case Joachim ran into and it seems to solve the issues. All test > still pass too (though that may not mean too much).
... because we may not have tests with weird names in submodule path. Thanks for the conversion!
Stefan