rev-list: disable object/refname ambiguity check with --stdin
[gitweb.git] / upload-pack.c
index 43342ac161952f5c03c7b737231c4c664b7513a7..c989a737f975b3aef41ffb9f6ec669ce3b2f2c2b 100644 (file)
@@ -753,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();