mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
chore: remove comment
This commit is contained in:
parent
995ead5584
commit
bc752d6087
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function deepenShallowCloneToFindCommit() {
|
||||||
local depth=20
|
local depth=20
|
||||||
local max_depth=$INPUT_MAX_FETCH_DEPTH
|
local max_depth=$INPUT_MAX_FETCH_DEPTH
|
||||||
|
|
||||||
while ! git rev-parse --quiet --verify "$ref^{commit}" &>/dev/null; do # !0 = true = not found
|
while ! git rev-parse --quiet --verify "$ref^{commit}" &>/dev/null; do
|
||||||
echo "::debug::Unable to find commit '$ref' in shallow clone. Increasing depth to $((depth * 2))..."
|
echo "::debug::Unable to find commit '$ref' in shallow clone. Increasing depth to $((depth * 2))..."
|
||||||
|
|
||||||
depth=$((depth * 2))
|
depth=$((depth * 2))
|
||||||
|
|
Loading…
Reference in a new issue