From c3f259754688d7c20cac5b8f8b998a7608f034a8 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Thu, 9 Jan 2014 09:02:56 -0800 Subject: [PATCH] Update DCO git hook example --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c09d13aa79..b8b926ff9b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -145,7 +145,7 @@ the following to your ``.git/hooks/prepare-commit-msg`` script (needs # see https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#sign-your-work # GH_USER=$(git config --get github.user) - SOB=$(git var GIT_AUTHOR_IDENT | sed -n "s/^\(.*>\).*$/Docker-DCO-1.0-Signed-off-by: \1 \(github: $GH_USER\)/p") + SOB=$(git var GIT_AUTHOR_IDENT | sed -n "s/^\(.*>\).*$/Docker-DCO-1.1-Signed-off-by: \1 \(github: $GH_USER\)/p") grep -qs "^$SOB" "$1" || echo "\n$SOB" >> "$1" ```