aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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