From c9ec2a66aeaecd9fca6e03c6b7d4fb1c66b65f22 Mon Sep 17 00:00:00 2001 From: Austin Morgan Date: Mon, 8 Jul 2024 20:06:07 -0500 Subject: [PATCH] Fix quoting in the error function Needed to quote array expansion. --- lib/git-subrepo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git-subrepo b/lib/git-subrepo index 7c0e1d5b..1ddef7cf 100755 --- a/lib/git-subrepo +++ b/lib/git-subrepo @@ -1968,7 +1968,7 @@ usage-error() { # Nicely report common error messages: error() { - echo -e "git-subrepo:" $@ >&2 + echo -e "git-subrepo:" "$@" >&2 exit 1 }