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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user