Closed crmsnbleyd closed 4 months ago
@crmsnbleyd I might've solved this in the linked PR. Saw that there's an extra y/n prompt in magit when doing this. I wonder if we should keep the prompt, or if it's just annoying..
Actually, this y/n prompt in magit seems a bit inconsistent.. Could add it in the future.
The magit package allows you to do so by "staging" the heading itself, which stages everything under it. For example if changes are made to flake.nix and cargo.toml, pressing
s
on the heading "unstaged changes" will stage both files. You can also unstage all staged files in a similar fashion.