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

Re: [PATCH] hooks/pre-commit: add example to add Signed-off-by line to message

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 21, 2006, 08:26 UTC
Message-ID
<Pine.LNX.4.63.0612210925400.19693@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vejqufonm.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 20 Dec 2006, Junio C Hamano wrote:
Show 17 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> >> Why SQUASH_MSG?  Doesn't it confuse git-explain when it wants to
> >> detect that you are in the middle of a squash merge?
> >
> > Yes, it confuses git-explain. Which did not existed when I concocted the 
> > first (broken) version of this patch. There are only two ways to give 
> > commit message templates AFAICT: misusing SQUASH_MSG and misusing 
> > MERGE_MSG.
> 
> I wonder...
> 
> # An example hook script to check the commit log message.
> # Called by git-commit with one argument, the name of the file
> # that has the commit message.  The hook should exit with non-zero
> # status after issuing an appropriate message if it wants to stop the
> # commit.  The hook is allowed to edit the commit message file.
Yes, I missed that.

Ciao, Dscho

Previous: Junio C HamanoNext: Andy Parkins
Message 8 of 11 in “hooks/pre-commit: add example to add Signed-off-by line to message”
  1. hooks/pre-commit: add example to add Signed-off-by line to messageJohannes Schindelin, Nov 29, 2006
  2. Andy ParkinsDec 20, 2006
  3. hooks/pre-commit: add example to add Signed-off-by line to messageAndy Parkins, Dec 20, 2006
  4. Johannes SchindelinDec 20, 2006
  5. Junio C HamanoDec 20, 2006
  6. Johannes SchindelinDec 20, 2006
  7. Junio C HamanoDec 20, 2006
  8. Johannes SchindelinDec 21, 2006
  9. hooks/commit-msg: add example to add Signed-off-by line to messageAndy Parkins, Dec 21, 2006
  10. Junio C HamanoDec 22, 2006
  11. Andy ParkinsDec 22, 2006

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.