@@ -72,7 +72,7 @@ void do_time_travelling_fetch(git_oid *commit1id, git_oid *commit2id,
7272 .strings = & refspec_strs ,
7373 };
7474
75- // create two commits in repo 1 and a reference to them
75+ /* create two commits in repo 1 and a reference to them */
7676 {
7777 git_oid empty_tree_id ;
7878 git_tree * empty_tree ;
@@ -92,7 +92,7 @@ void do_time_travelling_fetch(git_oid *commit1id, git_oid *commit2id,
9292 git_treebuilder_free (tb );
9393 }
9494
95- // fetch the reference via the remote
95+ /* fetch the reference via the remote */
9696 {
9797 git_remote * remote ;
9898
@@ -103,7 +103,7 @@ void do_time_travelling_fetch(git_oid *commit1id, git_oid *commit2id,
103103 git_remote_free (remote );
104104 }
105105
106- // assert that repo2 references the second commit
106+ /* assert that repo2 references the second commit */
107107 {
108108 const git_oid * target ;
109109 git_reference * ref ;
@@ -113,7 +113,7 @@ void do_time_travelling_fetch(git_oid *commit1id, git_oid *commit2id,
113113 git_reference_free (ref );
114114 }
115115
116- // set the reference in repo1 to point to the older commit
116+ /* set the reference in repo1 to point to the older commit */
117117 {
118118 git_reference * ref ;
119119 git_reference * ref2 ;
@@ -124,7 +124,7 @@ void do_time_travelling_fetch(git_oid *commit1id, git_oid *commit2id,
124124 git_reference_free (ref2 );
125125 }
126126
127- // fetch the reference again
127+ /* fetch the reference again */
128128 {
129129 git_remote * remote ;
130130
@@ -144,7 +144,7 @@ void test_remote_fetch__dont_update_refs_if_not_descendant_and_not_force(void) {
144144
145145 do_time_travelling_fetch (& commit1id , & commit2id , false);
146146
147- // assert that the reference in repo2 has not changed
147+ /* assert that the reference in repo2 has not changed */
148148 cl_git_pass (git_reference_lookup (& ref , repo2 , REPO2_REFNAME ));
149149 target = git_reference_target (ref );
150150 cl_assert_equal_b (git_oid_cmp (target , & commit2id ), 0 );
@@ -160,7 +160,7 @@ void test_remote_fetch__do_update_refs_if_not_descendant_and_force(void) {
160160
161161 do_time_travelling_fetch (& commit1id , & commit2id , true);
162162
163- // assert that the reference in repo2 has changed
163+ /* assert that the reference in repo2 has changed */
164164 cl_git_pass (git_reference_lookup (& ref , repo2 , REPO2_REFNAME ));
165165 target = git_reference_target (ref );
166166 cl_assert_equal_b (git_oid_cmp (target , & commit1id ), 0 );
0 commit comments