]> git.ipfire.org Git - thirdparty/git.git/blobdiff - upload-pack.c
test: make FILEMODE a lazy prereq
[thirdparty/git.git] / upload-pack.c
index fd96f3be116fa3655d8a0f297bcd6c6c4fec5cb7..c989a737f975b3aef41ffb9f6ec669ce3b2f2c2b 100644 (file)
@@ -10,6 +10,7 @@
 #include "revision.h"
 #include "list-objects.h"
 #include "run-command.h"
+#include "connect.h"
 #include "sigchain.h"
 #include "version.h"
 #include "string-list.h"
@@ -752,7 +753,6 @@ static void upload_pack(void)
        struct string_list symref = STRING_LIST_INIT_DUP;
 
        head_ref_namespaced(find_symref, &symref);
-       for_each_namespaced_ref(find_symref, &symref);
 
        if (advertise_refs || !stateless_rpc) {
                reset_timeout();