Show submodule diff for submodule changes on status page
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.6k
- Forks
- 357
- Avg merge
- 15h 47m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
Currently, if you check out a different SHA in a submodule, the Neogit status page just shows the new SHA compared to the committed SHA. This is never very useful, at least to me. I want to see what is changing with respect to commits in the submodule.
Describe the solution you'd like
Show submodule summary instead.
Describe alternatives you've considered
Running git submodule summary outside of Neogit. Would be nice to see at a glance from within Neogit, though. Coming from Lazygit, this is a feature I miss.
I also tried 'git config --global diff.submodule log' so 'git diff' would return basically the same thing, but this doesn't seem to render in the Neogit status page.
Additional context
N/A.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the submodule SHA change in Neogit's status page, then trace the existing status rendering and Git diff handling. The work is done when the status page shows a submodule commit summary rather than only the old and new SHAs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, lua, neovim
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100