Skip to content

Commit ce338e0

Browse files
committed
Merge pull request #19 from Rayne/prevent-word-splitting
Prevent word splitting,
2 parents a655a77 + 6fa092b commit ce338e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-fire

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version() {
1111

1212
# Helpers.
1313
current_branch() {
14-
basename $(git symbolic-ref HEAD)
14+
basename "$(git symbolic-ref HEAD)"
1515
}
1616

1717
current_epoch() {
@@ -30,7 +30,7 @@ fire() {
3030
git checkout -b "$(new_branch)"
3131

3232
# cd to git root directory
33-
cd $(git rev-parse --show-toplevel)
33+
cd "$(git rev-parse --show-toplevel)"
3434

3535
git add -A
3636

0 commit comments

Comments
 (0)