m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

use comparison instead of assignment

Daniel Gray
2015-11-24 21:16:39 -06:00
parent a56edc1ecc
commit a8cccfcbdc

@@ -349,9 +349,9 @@ fstash() {
sha="${out[-1]}"
sha="${sha%% *}"
[[ -z "$sha" ]] && continue
if [[ "$k" = 'ctrl-d' ]]; then
if [[ "$k" == 'ctrl-d' ]]; then
git diff $sha
elif [[ "$k" = 'ctrl-b' ]]; then
elif [[ "$k" == 'ctrl-b' ]]; then
git stash branch "stash-$sha" $sha
break;
else