threads / patch / 12423

patchcleanup: remove unused git_checkout_config

Subject: [PATCH] cleanup: remove unused git_checkout_config

## tl;dr

One message between Mar 2, 2008 and Mar 2, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Denis Cheng· Mar 2, 2008, 10:05 UTC · lore
Directly call git_default_config instead.
Signed-off-by: Denis Cheng <crquan@gmail.com>
---
 builtin-checkout.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
Show changes to builtin-checkout.c +0 −4
diff --git a/builtin-checkout.c b/builtin-checkout.c
index b0cd788..6b08016 100644
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
@@ -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);
-}

← back to recent threads