wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.33k stars 136 forks source link

Support stashes in forgit::diff #226

Closed carlfriedrich closed 1 year ago

carlfriedrich commented 1 year ago

Check list

Description

Git stashes are named stash@{x}, which contains the fzf placeholder {x}. In order to support passing stashes as arguments to forgit::diff, we have to prevent fzf from interpreting this substring by escaping the opening bracket.

Before:

grafik

After:

grafik

Type of change

Test environment

cjappl commented 1 year ago

seems like a good extension to me! Assigning to @wfxr