Allow using git flags on sub command
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.
The popup window for git sub command to select flags is very helpful. There comes a time I know all the flags I need to invoke a sub command, for example, git log -- [filename], such behavior is not supported when using :Neogit log [flags] in neovim.
Describe the solution you'd like
Ability to support flags when using Neogit sub command. Moreover, support vim global variables in sub command as well. e.g. :Neogit log -- % to open the popup with flags selected to current file.
Describe alternatives you've considered
None
Additional context
Add any other context or screenshots about the feature request here.
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
Start by tracing how the :Neogit log subcommand opens its popup and handles arguments. Verify that explicit flags are accepted and that Vim variables such as % are expanded to the current file, with the popup showing the corresponding flags selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, lua, neovim
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100