-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle params with spaces correctly in addons-git
- Loading branch information
1 parent
cbe6bc6
commit cbc77b0
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
_ex git config --local user.name "Elegant Git" | ||
_ex git config --local user.email "\"[email protected]\"" | ||
_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 | ||
|