Skip to contentSkip to conversation

cleanup: remove unused git_checkout_config

PATCH New Denis Cheng 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cleanup: remove unused git_checkout_config

Directly call git_default_config instead.

---
 builtin-checkout.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
builtin-checkout.c +0 -4
index b0cd788..6b08016 100644
@@ -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);
-}