replace --edit: respect core.editor

We simply need to read the config, is all. This fixes https://github.com/git-for-windows/git/issues/733 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Apr 20, 2016 at 08:38 UTC 36b14370dbafbe6682ea6b21c8de012253bff451
1 file changed +1
builtin/replace.c
+1
@@ -440,6 +440,7 @@ int cmd_replace(int argc, const char **argv, const char *prefix)
440 };
441
442 check_replace_refs = 0;
443 + git_config(git_default_config, NULL);
444
445 argc = parse_options(argc, argv, prefix, options, git_replace_usage, 0);
446