Skip to content

Commit c9ec2a6

Browse files
committed
Fix quoting in the error function
Needed to quote array expansion.
1 parent 70b31ab commit c9ec2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git-subrepo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ usage-error() {
19681968

19691969
# Nicely report common error messages:
19701970
error() {
1971-
echo -e "git-subrepo:" $@ >&2
1971+
echo -e "git-subrepo:" "$@" >&2
19721972
exit 1
19731973
}
19741974

0 commit comments

Comments
 (0)