Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
b9b1f9f8
Commit
b9b1f9f8
authored
7 years ago
by
Etienne Samson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: clarify which steps corresponds to each checks
parent
53672128
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tests/refs/reflog/messages.c
+5
-5
No files found.
tests/refs/reflog/messages.c
View file @
b9b1f9f8
...
...
@@ -29,13 +29,13 @@ void test_refs_reflog_messages__setting_head_updates_reflog(void)
cl_git_pass
(
git_signature_now
(
&
sig
,
"me"
,
"foo@example.com"
));
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/heads/haacked"
));
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/heads/haacked"
));
/* 4 */
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/heads/unborn"
));
cl_git_pass
(
git_revparse_single
(
&
tag
,
g_repo
,
"tags/test"
));
cl_git_pass
(
git_repository_set_head_detached
(
g_repo
,
git_object_id
(
tag
)));
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/heads/haacked"
));
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/tags/test"
));
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/remotes/test/master"
));
cl_git_pass
(
git_repository_set_head_detached
(
g_repo
,
git_object_id
(
tag
)));
/* 3 */
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/heads/haacked"
));
/* 2 */
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/tags/test"
));
/* 1 */
cl_git_pass
(
git_repository_set_head
(
g_repo
,
"refs/remotes/test/master"
));
/* 0 */
reflog_check_entry
(
g_repo
,
GIT_HEAD_FILE
,
4
,
NULL
,
"refs/heads/haacked"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment