Update diff-sha.sh
This commit is contained in:
parent
427b9f931d
commit
07a1f5a723
@ -249,7 +249,11 @@ else
|
|||||||
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
|
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
PREVIOUS_SHA=$(git merge-base --fork-point "$PREVIOUS_SHA" "$CURRENT_SHA" 2>&1) && exit_status=$? || exit_status=$?
|
NEW_PREVIOUS_SHA=$(git merge-base --fork-point "$PREVIOUS_SHA" "$CURRENT_SHA" 2>&1) && exit_status=$? || exit_status=$?
|
||||||
|
|
||||||
|
if [[ -n "$NEW_PREVIOUS_SHA" ]]; then
|
||||||
|
PREVIOUS_SHA=$NEW_PREVIOUS_SHA
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Fetching $i commits..."
|
echo "Fetching $i commits..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user