Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/prune-top-level-refs-after-packing' into maint
[gitweb.git]
/
editor.c
diff --git
a/editor.c
b/editor.c
index 27bdecdaf3d99d3179737e07be971d2458408660..0abbd8dc3a0ec91acd0c143b6d9b5ad41ac90417 100644
(file)
--- a/
editor.c
+++ b/
editor.c
@@
-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;