Closed
Description
I have version 0.2.3 and I'm using Ubuntu 18.04 with sh symlinked to dash. When I run git fire against a repo with a stash, the stash isn't branched and pushed.
~/git/test(master) » git fire
Switched to a new branch '[email protected]'
On branch [email protected]
nothing to commit, working tree clean
Host key fingerprint is SHA256:UFAjDQH4wwzmGkeNYpztD5NuaIBVkrdFIuoaEN4vCVQ
+---[ECDSA 256]---+
|o.*E+o**+ |
|+*X+o..o.. |
|=O.B.o. |
|* +=O . |
|o=oo+o S |
|o+ o.. |
|o . |
| |
| |
+----[SHA256]-----+
X11 forwarding request failed on channel 0
Total 0 (delta 0), reused 0 (delta 0)
To gitlab.example.com:sample/test.git
* [new branch] [email protected] -> [email protected]
Branch '[email protected]' set up to track remote branch '[email protected]' from 'origin'.
/usr/local/bin/git-fire: 51: /usr/local/bin/git-fire: [[: not found
I can silence the error and push the stash by editing /usr/local/lib/mode_modules/git-fire/git-fire to replace the first line (#!/usr/bin/env sh
) with either #!/usr/bin/env bash
or #!/usr/bin/env zsh
. I suspect that dash's lack of support for [[ causes this and it will affect other users of Debian-like distros.
Metadata
Metadata
Assignees
Labels
No labels