wfxr / forgit

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

Fix: Opening files from diff line when not in project root #393

Closed sandr01d closed 2 months ago

sandr01d commented 2 months ago

Check list

Description

When trying to open a file from gd in $EDITOR (alt + e) the wrong file was being opened when the command wasn't executed from the repository's root directory. Fixes #392

Type of change

Test environment