git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] commit: Fix description of no-verify

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 26, 2016, 12:55 UTC
Message-ID
<alpine.DEB.2.20.1607261452281.14111@virtualbox>
In-Reply-To
<1469519305-11361-1-git-send-email-orgad.shaneh@audiocodes.com>
Hi Orgad
On Tue, 26 Jul 2016, Orgad Shaneh wrote:
> From: Orgad Shaneh <orgads@gmail.com>
This is unnecessary, as it matches your email address.
> include also commit-msg hook.

This comment was a bit cryptic, until I read the patch. Now I find that comment redundant with the patch.

However, I think that...
> -		OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit hook")),
> +		OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit and commit-msg hooks")),

... it may be more desirable to future-proof this simply by saying "bypass hooks".

In the alternative, it would be good if the commit message could convincingly make the case that there are no other hooks that will be skipped with -n.

Of course, I could go and look at the source code to convince myself. But it is really the duty of the commit message to be already convincing enough.

Ciao, Dscho

Previous: Orgad ShanehNext: Orgad Shaneh
Message 2 of 4 in “commit: Fix description of no-verify”
  1. commit: Fix description of no-verifyOrgad Shaneh, Jul 26, 2016
  2. Johannes SchindelinJul 26, 2016
  3. Orgad ShanehJul 26, 2016
  4. Johannes SchindelinJul 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.