mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-12 15:53:33 -04:00
If a submodule's url contains "path=", for example "https://example.com/repo?path=other", lazygit takes "other" for the submodule's path and loses the url. Also, a commented-out section in .gitmodules shows up as a submodule. The regexes that parse .gitmodules aren't anchored, so they find a key or a section header anywhere in a line. Anchor them at the start of the line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>