cleanup: remove unused git_checkout_config
PATCH 1/1 cleanup: remove unused git_checkout_config
Directly call git_default_config instead.
Signed-off-by Denis Cheng <[email protected]>
--- builtin-checkout.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
builtin-checkout.c +0 -4
@@ -484,11 +484,6 @@ static int switch_branches(struct checkout_opts *opts, struct branch_info *new)return post_checkout_hook (old.commit, new->commit,1 ); } -static int git_checkout_config (const char *var,const char *value) -{ -return git_default_config (var, value); -}