Add a button, somewhere in C-p probably, to create a patch from outside of a submodule
Author: ArniiiiiCreated Sep 11, 2026Updated Sep 12, 2026
Labelsenhancement
An inconvinience
I have cloned boost repo.
I made a change for a lib.
I wanted to get a patch.
But there's a nuance: all libs in boost's repo are wrapped into submodules.
So, lazygit does not even allow to do patch for it, saying something like:
- Ctrl+P : "no patch created yet, stage plz"
- Space at submodule i.e. at staging outside of submodule: "repos can only stage submoduless' commits"
current workaround
git diff --submodule=diff
Additional context
lazygit --version
commit=, build date=, build source=unknown, version=0.65.0, os=linux, arch=amd64, git version=2.55.0
Source: jesseduffield/lazygit