Skip to content

Commit 683b9d2

Browse files
Fix valid path output
1 parent 193c2fb commit 683b9d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/verify-commits/verify-commits.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ fi
3333

3434
NO_SHA1=1
3535
PREV_COMMIT=""
36+
INITIAL_COMMIT=${CURRENT_COMMIT}
3637

3738
while true; do
3839
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
39-
echo "There is a valid path from \"$CURRENT_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
40+
echo "There is a valid path from \"$INITIAL_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
4041
exit 0
4142
fi
4243

0 commit comments

Comments
 (0)