wfxr.forgit/bin
sandr01d 48e91dadb5
Fixed opening files in the editor when a path contains spaces or a file was renamed (#323)
Fixed two issues that occurred when trying to open files in the editor (ctrl+e). In both cases the wrong files were opened.

1. Files that have spaces in their path. I fixed this by properly escaping the variables used in _forgit_diff() and forgit_add().
2. When a tracked file was renamed and added, trying to open it in the editor from the diff view, would open a file with a name that consists of both, the old and the new name. I added a separate sed command that can handle this special case.
2023-08-27 17:06:30 +02:00
..
git-forgit Fixed opening files in the editor when a path contains spaces or a file was renamed (#323) 2023-08-27 17:06:30 +02:00