Re: [PATCH] Re: Bug with "git submodule update" + subrepo with differing path/name?

2017-12-21 Thread Andreas Urke
back to solid ground. My use-case is that I need to follow a specific folder-naming (i.e. subrepo path) convention, but I do not want to use that naming as the repo name in our gitlab. Regards, Andreas On 21 December 2017 at 19:55, Stefan Beller wrote: > On Thu, Dec 21, 2017 at 8:21 AM, A

Re: [PATCH] Re: Bug with "git submodule update" + subrepo with differing path/name?

2017-12-21 Thread Andreas Urke
it this to superrepo cd sub1 touch third && git add . && git commit -m "third" cd ../sub2 touch third && git add . && git commit -m "third" cd .. git add . git commit -m "third" git checkout HEAD^ git status git submodule update git s

Re: [PATCH] Re: Bug with "git submodule update" + subrepo with differing path/name?

2017-12-20 Thread Andreas Urke
Thanks for looking into this. I was able to reproduce it from scratch, but I followed my earlier workflow where I first created the subrepos, and then later renamed it. At the time I was not able to find any command to rename without changing the path (and I was not able find one now either, is th

Bug with "git submodule update" + subrepo with differing path/name?

2017-12-18 Thread Andreas Urke
ed for commit: modified: subrepo2 (new commits) Checking out the relevant commit manually in subrepo2 works fine (and is what I end up doing). Regards, Andreas Urke