From 2b382e404042d9189d8a289f83c0975d51eeb02d Mon Sep 17 00:00:00 2001 From: Julien Tesson Date: Thu, 3 Jul 2025 20:31:07 +0200 Subject: [PATCH] Devtools/apply_proto_patch: fix changes_path preventing to commit --- devtools/patchs/apply_proto_patch.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devtools/patchs/apply_proto_patch.sh b/devtools/patchs/apply_proto_patch.sh index e103c3d77832..ed1000ba7691 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 -- GitLab