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

[PATCH 1/2] git-tar-tree: Remove duplicate git_config() call

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Sep 24, 2006, 15:30 UTC
Message-ID
<4516A4A4.6040200@lsrfire.ath.cx>

generate_tar() eventually calls write_tar_archive() which does all the "real" work and which also calls git_config(git_tar_config). We only need to do this once.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
---
 builtin-tar-tree.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index 437eb72..82b4951 100644
--- a/builtin-tar-tree.c
+++ b/builtin-tar-tree.c
@@ -267,8 +267,6 @@ static int generate_tar(int argc, const 
 	int result;
 	char *base = NULL;
 
-	git_config(git_tar_config);
-
 	memset(&args, 0, sizeof(args));
 	if (argc != 2 && argc != 3)
 		usage(tar_tree_usage);
Message 1 of 1 in “git-tar-tree: Remove duplicate git_config() call”
  1. 1/2 git-tar-tree: Remove duplicate git_config() callRene Scharfe, Sep 24, 2006

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.