Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed opening files in the editor when a path contains spaces or a fi…
…le 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.
- Loading branch information