X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=editor.c;h=6303ae0ab0d52b7b54a00bd9bf687a91aac998fd;hb=e96b271d185b59d93f7deab454a788c9d8dd0e50;hp=91989ee8a116aa44502a2c60dfbd02ba4528a34f;hpb=43f46d6da57ad522cb023498cf052c86787fe5bd;p=thirdparty%2Fgit.git diff --git a/editor.c b/editor.c index 91989ee8a1..6303ae0ab0 100644 --- a/editor.c +++ b/editor.c @@ -40,7 +40,7 @@ const char *git_sequence_editor(void) const char *editor = getenv("GIT_SEQUENCE_EDITOR"); if (!editor) - git_config_get_string_const("sequence.editor", &editor); + git_config_get_string_tmp("sequence.editor", &editor); if (!editor) editor = git_editor();