mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #10963 from thockin/cherrypick-fixes
Ignore untracked files in cherrypick
This commit is contained in:
commit
b33954c45e
@ -37,7 +37,7 @@ if [[ "$#" -ne 2 ]]; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if git_status=$(git status --porcelain 2>/dev/null) && [[ -n ${git_status} ]]; then
|
||||
if git_status=$(git status --porcelain --untracked=no 2>/dev/null) && [[ -n "${git_status}" ]]; then
|
||||
echo "!!! Dirty tree. Clean up and try again."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user