git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] cleanup: remove unused git_checkout_config

From
Denis Cheng <crquan@gmail.com>
Date
Mar 2, 2008, 10:05 UTC
Message-ID
<1204452305-5580-1-git-send-email-crquan@gmail.com>
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);
-}
Message 1 of 1 in “cleanup: remove unused git_checkout_config”
  1. cleanup: remove unused git_checkout_configDenis Cheng, Mar 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.