git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
b0ed9ea
)
git-tar-tree: Remove duplicate git_config() call
author
Rene Scharfe
<redacted>
Sun, 24 Sep 2006 15:30:44 +0000
(17:30 +0200)
committer
Junio C Hamano
<redacted>
Mon, 25 Sep 2006 02:55:07 +0000
(19:55 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-tar-tree.c
patch
|
blob
|
history
diff --git
a/builtin-tar-tree.c
b/builtin-tar-tree.c
index 437eb726a9b207353545726f379ab8638c0eecb9..82b4951f3af8e7d6c58cc52798abd3094c4ea7d9 100644
(file)
--- a/
builtin-tar-tree.c
+++ b/
builtin-tar-tree.c
@@
-267,8
+267,6
@@
static int generate_tar(int argc, const char **argv, const char *prefix)
int result;
char *base = NULL;
- git_config(git_tar_config);
-
memset(&args, 0, sizeof(args));
if (argc != 2 && argc != 3)
usage(tar_tree_usage);
git clone https://git.99rst.org/PROJECT