diff --git a/devtools/patchs/apply_proto_patch.sh b/devtools/patchs/apply_proto_patch.sh index e103c3d778326e0216905b468771b850c81d7026..ed1000ba76914b1c52fc6dbe8907bbec8a100b0a 100755 --- a/devtools/patchs/apply_proto_patch.sh +++ b/devtools/patchs/apply_proto_patch.sh @@ -82,8 +82,9 @@ apply() { eval "$PATCH" if "$COMMITING"; then # adding all files touched by the initial commit - # shellcheck disable=SC2046 - git add $(git show --name-only --pretty="" "$PATCH_NAME" "$CHANGES_PATH" | cut -d'/' -f3-) + # shellcheck disable=SC2046,SC2086 + git add $(git show --name-only --pretty="" "$PATCH_NAME" $CHANGES_PATH | cut -d'/' -f3-) + git status # committing the changes with a new message git commit -m"$proto_name/$COMMIT_TITLE