File tree 2 files changed +3
-7
lines changed
tests/libgit2/network/remote
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,6 @@ static int add_ref(transport_local *t, const char *name)
108
108
return error ;
109
109
}
110
110
111
- /* If it's not a tag, we don't need to try to peel it */
112
- if (git__prefixcmp (name , GIT_REFS_TAGS_DIR ))
113
- return 0 ;
114
-
115
111
if ((error = git_object_lookup (& obj , t -> repo , & head -> oid , GIT_OBJECT_ANY )) < 0 )
116
112
return error ;
117
113
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ void test_network_remote_local__retrieve_advertised_references(void)
61
61
62
62
cl_git_pass (git_remote_ls (& refs , & refs_len , remote ));
63
63
64
- cl_assert_equal_i (refs_len , 30 );
64
+ cl_assert_equal_i (refs_len , 31 );
65
65
}
66
66
67
67
void test_network_remote_local__retrieve_advertised_before_connect (void )
@@ -85,7 +85,7 @@ void test_network_remote_local__retrieve_advertised_references_after_disconnect(
85
85
86
86
cl_git_pass (git_remote_ls (& refs , & refs_len , remote ));
87
87
88
- cl_assert_equal_i (refs_len , 30 );
88
+ cl_assert_equal_i (refs_len , 31 );
89
89
}
90
90
91
91
void test_network_remote_local__retrieve_advertised_references_from_spaced_repository (void )
@@ -100,7 +100,7 @@ void test_network_remote_local__retrieve_advertised_references_from_spaced_repos
100
100
101
101
cl_git_pass (git_remote_ls (& refs , & refs_len , remote ));
102
102
103
- cl_assert_equal_i (refs_len , 30 );
103
+ cl_assert_equal_i (refs_len , 31 );
104
104
105
105
git_remote_free (remote ); /* Disconnect from the "spaced repo" before the cleanup */
106
106
remote = NULL ;
You can’t perform that action at this time.
0 commit comments