git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cleanup: remove unused git_checkout_config
@ 2008-03-02 10:05 Denis Cheng
  0 siblings, 0 replies; only message in thread
From: Denis Cheng @ 2008-03-02 10:05 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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(-)

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);
-}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-02 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 10:05 [PATCH] cleanup: remove unused git_checkout_config Denis Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).