]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
cache.h: move remote/connect API out of it
[thirdparty/git.git] / transport.c
index 359a671c8ca9232944cd6e92a2ac0a9eda7b429d..b84dbf086c65674ba9300bd2741f2bb7d854a9d9 100644 (file)
@@ -3,6 +3,8 @@
 #include "run-command.h"
 #include "pkt-line.h"
 #include "fetch-pack.h"
+#include "remote.h"
+#include "connect.h"
 #include "send-pack.h"
 #include "walker.h"
 #include "bundle.h"
@@ -1232,7 +1234,7 @@ int transport_fetch_refs(struct transport *transport, struct ref *refs)
                 * then local and remote refs are likely to still be equal.
                 * Just feed them all to the fetch method in that case.
                 * This condition shouldn't be met in a non-deepening fetch
-                * (see builtin-fetch.c:quickfetch()).
+                * (see builtin/fetch.c:quickfetch()).
                 */
                heads = xmalloc(nr_refs * sizeof(*heads));
                for (rm = refs; rm; rm = rm->next)