Skip to content

Commit d9fc248

Browse files
committed
Merge branch 'rr/feed-real-path-to-editor'
* rr/feed-real-path-to-editor: editor: use canonicalized absolute path
2 parents 7e39472 + 09c5ae5 commit d9fc248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ int launch_editor(const char *path, struct strbuf *buffer, const char *const *en
3737
return error("Terminal is dumb, but EDITOR unset");
3838

3939
if (strcmp(editor, ":")) {
40-
const char *args[] = { editor, path, NULL };
40+
const char *args[] = { editor, real_path(path), NULL };
4141
struct child_process p;
4242
int ret, sig;
4343

0 commit comments

Comments
 (0)