Open Ryanf55 opened 9 months ago
I just followed your list of steps and had no issues. All steps worked fine here is a log of all steps: http://uav.tridgell.net/tmp/git-test.txt
@Ryanf55 I've now reproduced. The key step which you didn't call out in the description is "git config submodule.recurse true". If you don't do that then it all works fine. I've never set that config option myself, and just use --recurse when I want that (I often don't)
@Ryanf55 I've now reproduced. The key step which you didn't call out in the description is "git config submodule.recurse true". If you don't do that then it all works fine. I've never set that config option myself, and just use --recurse when I want that (I often don't)
Thanks for looking at this and reproducing the issue!
I'll create a Wiki PR to recommend turning off the submodule.recurse
locally in the ArduPilot repo. ^
Bug report
Issue details
When using git submodules, when they are moved around, it causes major issues when switching branches.
Version
Start with HEAD at 5c1ed968b18ea196b8376cdd6cc7aeae9b3085c4 then try rebase on f67d8956778de0ed1e5ddebf159ecd1ca0f6f3d7
git version: 2.34.1
OS of Ubuntu 22.04.3
Platform [x ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Submarine
Steps to reproduce
Attempted recovery
Logs
Full logs to reproduce this are attached. log.txt
The exact error occurs here:
Recommendations
References