Add menu item 'Commit without hooks' to the commit menu
dafi opened this issue · comments
Is your feature request related to a problem? Please describe.
Pressing the keyw
or c
and entering manually WIP
I can "append" the flag --no-verify
But the commit message will be saved with the string "WIP" (e.g. "WIP Moved items") and I don't want the prefix to be present on the message (e.g. just "Moved items")
I can change the prefix but I simply don't want any prefix string on my commit message.
Describe the solution you'd like
When I press c
to commit files I can access to a second level menu pressing <c-o>
, could be useful to add a new menu item
w Commit without hooks
(where w
is the key)
So the command will contain the flag --no-verify
and the message contains only what I typed
Describe alternatives you've considered
At this time I use a custom command but the prompts
"summary" and "description" aren't visible at same time (I love to switch between them using TAB into the commit command) and the user experience is poor
My custom command is a dirty workaround not a real solution
Ideally (I guess) we'd have a menu where the user could toggle checkboxes what they do and do not want, e.g. in this case [x] --no-verify
, but we don't have something like that in place.
Relevant discussion here.