Re: Detect invalid submodule names from script?

2017-07-17 Thread Joachim Durchholz
Am 17.07.2017 um 19:49 schrieb Stefan Beller: On Mon, Jul 17, 2017 at 4:17 AM, Joachim Durchholz wrote: Hi all I'm hacking some script that calls into git, and I need to detect whether a repository was configured with a submodule name that will work on "git submodule init"

Re: Detect invalid submodule names from script?

2017-07-17 Thread Stefan Beller
On Mon, Jul 17, 2017 at 4:17 AM, Joachim Durchholz wrote: > Hi all > > I'm hacking some script that calls into git, and I need to detect whether a > repository was configured with a submodule name that will work on "git > submodule init" and friends. There is no such a thing

Detect invalid submodule names from script?

2017-07-17 Thread Joachim Durchholz
Hi all I'm hacking some script that calls into git, and I need to detect whether a repository was configured with a submodule name that will work on "git submodule init" and friends. I *can* run a git init and see whether it works, but I need to be 100% sure that the error was due to an