Skip to content

Commit 52b03db

Browse files
committed
replace --edit: respect core.editor
We simply need to read the config, is all. This fixes git-for-windows#733 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9a73208 commit 52b03db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/replace.c

+1
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ int cmd_replace(int argc, const char **argv, const char *prefix)
440440
};
441441

442442
check_replace_refs = 0;
443+
git_config(git_default_config, NULL);
443444

444445
argc = parse_options(argc, argv, prefix, options, git_replace_usage, 0);
445446

0 commit comments

Comments
 (0)