From: Joachim Durchholz Date: Fri, 07 Apr 2017 08:40:53 GMT Subject: Re: problem with backslash in directory name Message-ID: <0a51432b-b9c9-32c5-c064-5fc9aaddebc7@durchholz.org> In-Reply-To: <20170407063057.yjbqavu4uiipslpc@sigill.intra.peff.net> Am 07.04.2017 um 08:30 schrieb Jeff King: > I also don't know how some of those loops would cope with > a submodule name that needed quoting). "git submodule add" worked fine with most of the following names: "sub" # potentially confusing the shell "sub with blanks", "sub with\nnewline", "sub with'single quote", "sub with\"double quote", "sub with\\backslash", "sub with\bbackspace", "sub with\thorizontal tab", # potentially confusing git's configuration format "sub with #", "sub with =" (That's Python 3 literals in case somebody is wondering. I'm using Python to unit test a shell script, just so I can catch this sort of stuff...)