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:
1991006
)
fetch: silence git-gc if --quiet is given
author
Nguyễn Thái Ngọc Duy
<redacted>
Sat, 16 Aug 2014 01:19:28 +0000
(08:19 +0700)
committer
Junio C Hamano
<redacted>
Mon, 18 Aug 2014 17:14:19 +0000
(10:14 -0700)
Noticed-by: Matthew Flaschen <redacted>
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fetch.c
patch
|
blob
|
history
diff --git
a/builtin/fetch.c
b/builtin/fetch.c
index 5f06114218d6b4a23d26ad525d9312f4b91a78dc..159fb7e91614253cf7820b0c4cd7d07407c76762 100644
(file)
--- a/
builtin/fetch.c
+++ b/
builtin/fetch.c
@@
-1197,6
+1197,8
@@
int cmd_fetch(int argc, const char **argv, const char *prefix)
string_list_clear(&list, 0);
argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
+ if (verbosity < 0)
+ argv_array_push(&argv_gc_auto, "--quiet");
run_command_v_opt(argv_gc_auto.argv, RUN_GIT_CMD);
argv_array_clear(&argv_gc_auto);
git clone https://git.99rst.org/PROJECT