git🐮 Use %s to print worktree path

Don't pass the worktree path directly into the format string - just to
be safe.
This commit is contained in:
2025-09-15 13:41:54 +02:00
parent d8859bc709
commit 8e8ef29b37

View File

@@ -49,7 +49,7 @@ fi
trap '
errc=$?
<&2 printf "Exiting abnormally. Check and possibly remove '$WORKTREE_PATH' manually.\n"
<&2 printf "Exiting abnormally. Check and possibly remove \"%s\" manually.\n" "'$WORKTREE_PATH'"
return $errc
' INT QUIT TERM EXIT