Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
line-log: rename 'new' variables
[gitweb.git]
/
builtin
/
fetch.c
diff --git
a/builtin/fetch.c
b/builtin/fetch.c
index e656746ab9afd071c3dff49b6b04c878f11996fa..7bbcd26faf1fe650ccc7dbbd526db5114aac0c8f 100644
(file)
--- a/
builtin/fetch.c
+++ b/
builtin/fetch.c
@@
-1095,9
+1095,6
@@
static int do_fetch(struct transport *transport,
tags = TAGS_UNSET;
}
- if (!transport->get_refs_list || !transport->fetch)
- die(_("Don't know how to fetch from %s"), transport->url);
-
/* if not appending, truncate FETCH_HEAD */
if (!append && !dry_run) {
retcode = truncate_fetch_head();