mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
use comparison instead of assignment
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user