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
Junio C Hamano <junkio@cox.net>
Date
Aug 13, 2006, 08:16 UTC
Message-ID
<7vejvlm4op.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060813080328.14584.qmail@web31805.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
Show 8 quoted lines
> @@ -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.

Previous: Luben TuikovNext: Luben Tuikov
Message 2 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.