From cbc77b0c22a351e9b80fdb1254686199c8f0a2ce Mon Sep 17 00:00:00 2001 From: Dmytro Serdiuk Date: Thu, 9 Nov 2017 23:39:36 +0200 Subject: [PATCH] Handle params with spaces correctly in addons-git #89 --- src/test/addons-git.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/addons-git.bash b/src/test/addons-git.bash index ef6f17a..94ded79 100644 --- a/src/test/addons-git.bash +++ b/src/test/addons-git.bash @@ -18,11 +18,11 @@ init-repo() { _ex mkdir -p $GIT_REPO_DIR _ex cd $GIT_REPO_DIR _ex git init - _ex git config --local user.email "elegant-git@example.com" - _ex git config --local user.name "Elegant Git" + _ex git config --local user.email "\"elegant-git@example.com\"" + _ex git config --local user.name "\"Elegant Git\"" _ex touch $FILE_TO_MODIFY _ex git add . - _ex git commit -m "Add $FILE_TO_MODIFY" + _ex git commit -m "\"Add $FILE_TO_MODIFY\"" else exit 1 fi