Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add the configuration option skipFetchAll
[gitweb.git]
/
builtin-fetch.c
diff --git
a/builtin-fetch.c
b/builtin-fetch.c
index c903c66d47c52d7e585866ab3182ec1eb69408b0..4cbd69075f718ce97abefddbf99c1f0ccbf67774 100644
(file)
--- a/
builtin-fetch.c
+++ b/
builtin-fetch.c
@@
-649,7
+649,8
@@
static void set_option(const char *name, const char *value)
static int get_one_remote_for_fetch(struct remote *remote, void *priv)
{
struct string_list *list = priv;
- string_list_append(remote->name, list);
+ if (!remote->skip_default_update)
+ string_list_append(remote->name, list);
return 0;
}