diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-04 12:26:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-04 12:26:54 -0700 |
commit | d9fc248987fa160bdc8d114e0f296fa8639331e7 (patch) | |
tree | b373f0098391f4d2b90b5c6b4e21055af616f6bb | |
parent | 7e39472020d25d1235e0893f9d80e90b1e9fa7c9 (diff) | |
parent | 09c5ae5a503b0293205c7e6d63a739bd8d0529dc (diff) | |
download | git-d9fc248987fa160bdc8d114e0f296fa8639331e7.tar.gz |
Merge branch 'rr/feed-real-path-to-editor'
* rr/feed-real-path-to-editor:
editor: use canonicalized absolute path
-rw-r--r-- | editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ int launch_editor(const char *path, struct strbuf *buffer, const char *const *en return error("Terminal is dumb, but EDITOR unset"); if (strcmp(editor, ":")) { - const char *args[] = { editor, path, NULL }; + const char *args[] = { editor, real_path(path), NULL }; struct child_process p; int ret, sig; |