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

Re: [PATCH] Add --signoff and --verify option to git commit.

From
Junio C Hamano <junkio@cox.net>
Date
Aug 16, 2005, 00:13 UTC
Message-ID
<7v3bpavivh.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200508152321.17075.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> These verification scripts should be used per default, and git-commit should 
> have an option to force bypassing verification.

I agree that it would be a good place to do a hook. Also it may not be a bad idea, if you volunteer to come up with a patch, to look at an earlier thread that talks about commit message templates and think about how these things should mesh together.

Bypassing can already be done by not giving '-v', so I do not think you need to make things more complicated than necessary. You can first try with a '-v', examine what it complains about, fix only what are applicable to your change, try with '-v' again to make sure the only complaints are from false positives, and then you commit without '-v', bypassing the check.

Previous: Josef Weidendorfer
Message 3 of 3 in “Add --signoff and --verify option to git commit.”
  1. Add --signoff and --verify option to git commit.Junio C Hamano, Aug 13, 2005
  2. Josef WeidendorferAug 15, 2005
  3. Junio C HamanoAug 16, 2005

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.