Skip to content

Commit

Permalink
Update error function to allow multiple arguments
Browse files Browse the repository at this point in the history
Fixes #517 and other issues in which some invocations of `error()` pass multiple arguments which are then silently ignored.
  • Loading branch information
jrandall authored and admorgan committed Jul 8, 2024
1 parent 5a6c3c2 commit 70b31ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git-subrepo
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ usage-error() {

# Nicely report common error messages:
error() {
echo -e "git-subrepo: $1" >&2
echo -e "git-subrepo:" $@ >&2
exit 1
}

Expand Down

0 comments on commit 70b31ab

Please sign in to comment.