Skip to content

Commit

Permalink
replace --edit: respect core.editor
Browse files Browse the repository at this point in the history
We simply need to read the config, is all.

This fixes git-for-windows#733

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Apr 21, 2016
1 parent 9a73208 commit 52b03db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/replace.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ int cmd_replace(int argc, const char **argv, const char *prefix)
};

check_replace_refs = 0;
git_config(git_default_config, NULL);

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

Expand Down

0 comments on commit 52b03db

Please sign in to comment.