j6t / git-gui

Tcl/Tk based UI for Git
12 stars 8 forks source link

Feature request: Option to skip commit hooks #2

Open albertvaka opened 3 months ago

albertvaka commented 3 months ago

Thanks for taking over the maintainer role of git-gui 😄

It would be great if git-gui allowed the equivalent of passing --no-verify when committing using the CLI.

The simpler and least intrusive implementation of this would be a new menu entry, side by side to "Commit", that was "Commit (bypass commit hooks)".

j6t commented 3 months ago

I can see that this is a desirable option.

When this is implemented, it should be hidden away to avoid that it is used accidentally. Every use of this form of making a commit must be a conscious decision by the user. Therefore it should be a new entry in the menu and without a hot-key and no button next to the edit box.

albertvaka commented 3 months ago

100% agree!