aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-10-09 23:20:52 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-10-18 17:10:23 +0200
commit683b9d280bba7a0f0f78818e5e29a21cef2eb5e6 (patch)
tree319695176c202934d2b419cfccb6c8f832502bf5 /contrib/verify-commits
parent193c2fb4c88fbc4e0b19033ed9c0351ac1f02269 (diff)
Fix valid path output
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-xcontrib/verify-commits/verify-commits.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/verify-commits/verify-commits.sh b/contrib/verify-commits/verify-commits.sh
index 98ee243ea7..9ba01791a8 100755
--- a/contrib/verify-commits/verify-commits.sh
+++ b/contrib/verify-commits/verify-commits.sh
@@ -33,10 +33,11 @@ fi
NO_SHA1=1
PREV_COMMIT=""
+INITIAL_COMMIT=${CURRENT_COMMIT}
while true; do
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
- echo "There is a valid path from \"$CURRENT_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
+ echo "There is a valid path from \"$INITIAL_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
exit 0
fi