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

Re: [PATCH] git-commit: no silent exit on duplicate Signed-off-by lines

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Aug 14, 2006, 02:41 UTC
Message-ID
<20060814024146.85979.qmail@web31807.mail.mud.yahoo.com>
In-Reply-To
<7vejvlm4op.fsf@assigned-by-dhcp.cox.net>
--- Junio C Hamano <junkio@cox.net> wrote:
Show 14 quoted lines
> Luben Tuikov <ltuikov@yahoo.com> writes:
> 
> > @@ -690,7 +690,7 @@ case "$verify" in
> >  t)
> >  	if test -x "$GIT_DIR"/hooks/commit-msg
> >  	then
> > -		"$GIT_DIR"/hooks/commit-msg "$GIT_DIR"/COMMIT_EDITMSG || exit
> > +		"$GIT_DIR"/hooks/commit-msg "$GIT_DIR"/COMMIT_EDITMSG || die "Duplicate Signed-off-by lines
> -- nothing commited"
> >  	fi
> >  esac
> 
> Please emit the complaint from the sample hook/commit-msg
> script, not from git-commit.

Ok, I will. (In which case the aforementioned patch can be dropped in favor of the new one.)

    Luben
Previous: Junio C Hamano
Message 3 of 3 in “git-commit: no silent exit on duplicate Signed-off-by lines”
  1. git-commit: no silent exit on duplicate Signed-off-by linesLuben Tuikov, Aug 13, 2006
  2. Junio C HamanoAug 13, 2006
  3. Luben TuikovAug 14, 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.