diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-15 22:22:12 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-15 22:22:12 -0800 |
commit | fcff62262703554ccebdda353f5435aeb6162834 (patch) | |
tree | f7dc3987dd25a2e17980e74842a820bbbc21c069 /local/update-06-copyright | |
parent | local: autofixing from shellcheck (diff) | |
download | githooks-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-x | local/update-06-copyright | 2 |
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 |