@@ -29,13 +29,13 @@ void test_refs_reflog_messages__setting_head_updates_reflog(void)
2929
3030 cl_git_pass (git_signature_now (& sig , "me" , "foo@example.com" ));
3131
32- cl_git_pass (git_repository_set_head (g_repo , "refs/heads/haacked" ));
32+ cl_git_pass (git_repository_set_head (g_repo , "refs/heads/haacked" )); /* 4 */
3333 cl_git_pass (git_repository_set_head (g_repo , "refs/heads/unborn" ));
3434 cl_git_pass (git_revparse_single (& tag , g_repo , "tags/test" ));
35- cl_git_pass (git_repository_set_head_detached (g_repo , git_object_id (tag )));
36- cl_git_pass (git_repository_set_head (g_repo , "refs/heads/haacked" ));
37- cl_git_pass (git_repository_set_head (g_repo , "refs/tags/test" ));
38- cl_git_pass (git_repository_set_head (g_repo , "refs/remotes/test/master" ));
35+ cl_git_pass (git_repository_set_head_detached (g_repo , git_object_id (tag ))); /* 3 */
36+ cl_git_pass (git_repository_set_head (g_repo , "refs/heads/haacked" )); /* 2 */
37+ cl_git_pass (git_repository_set_head (g_repo , "refs/tags/test" )); /* 1 */
38+ cl_git_pass (git_repository_set_head (g_repo , "refs/remotes/test/master" )); /* 0 */
3939
4040 reflog_check_entry (g_repo , GIT_HEAD_FILE , 4 ,
4141 NULL , "refs/heads/haacked" ,
0 commit comments