Re: Re : 2 questions on git-send-email usage
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 13, 2006, 04:34 UTC
- Message-ID
- <7vac7exgvs.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0607120931150.5623@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> So being somewhat forgiving might help, but I think another thing that > migth help is a flag to "git-am" to _not_ apply a patch that lacks a > previous sign-off.
How about having this in $GIT_DIR/hooks/applypatch-msg?
#!/bin/sh grep '^Signed-off-by: ' "$1" >/dev/null