Skip to content

Commit d28679f

Browse files
committed
avoid bash [[ use
1 parent e221b93 commit d28679f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-fire

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

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

0 commit comments

Comments
 (0)