aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-12-15 22:22:12 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-12-15 22:22:12 -0800
commitfcff62262703554ccebdda353f5435aeb6162834 (patch)
treef7dc3987dd25a2e17980e74842a820bbbc21c069 /local/update-06-copyright
parentlocal: autofixing from shellcheck (diff)
downloadgithooks-fcff62262703554ccebdda353f5435aeb6162834.tar.gz
githooks-fcff62262703554ccebdda353f5435aeb6162834.tar.bz2
githooks-fcff62262703554ccebdda353f5435aeb6162834.zip
local: resync from git-gx86-tools/49b86a7418e68de3cf90ec88add3ac08630b7f0b, need to redo local commits
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'local/update-06-copyright')
-rwxr-xr-xlocal/update-06-copyright2
1 files changed, 0 insertions, 2 deletions
diff --git a/local/update-06-copyright b/local/update-06-copyright
index 70e39af..82cba58 100755
--- a/local/update-06-copyright
+++ b/local/update-06-copyright
@@ -1,5 +1,4 @@
#!/bin/bash
-# gentoo-infra: infra/githooks.git:local/update-06-copyright
# Verify that GCO sign-off is present in commit messages
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
@@ -75,7 +74,6 @@ zeros=0000000000000000000000000000000000000000
if [[ ${oldrev} == "${zeros}" && ${refname} != refs/heads/master ]]; then
mergebase=$(git merge-base refs/heads/master "${newrev}")
[[ -n ${mergebase} ]] && oldrev=${mergebase}
- [[ -z ${mergebase} ]] && echo "WARNING: No common commits with master!"
fi
rev_list_arg="${oldrev}..${newrev}"
# new and no common commit? gotta check them all