Skip to content

Commit f2040e0

Browse files
authored
Merge pull request #34 from edwinbalani/use-singlebracket-test
Use `[` instead of bash-specific `[[` for test
2 parents 8ee4adf + 9874336 commit f2040e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git-fire

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fire() {
4848
git push --no-verify --set-upstream "${remote}" "$(current_branch)" || true
4949
done
5050

51-
if [[ $(git stash list) != '' ]]; then
51+
if [ "$(git stash list)" != '' ]; then
5252
for sha in $(git rev-list -g stash); do
5353
git push --no-verify origin "$sha":refs/heads/"$(current_branch $initial_branch)"-stash-"$sha"
5454
done

0 commit comments

Comments
 (0)