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
ba52879b
Commit
ba52879b
authored
Apr 11, 2016
by
Carlos Martín Nieto
Committed by
Edward Thomson
Apr 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset: use real ids for the tests
This lets us run with strict object creation on.
parent
3e2e8240
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/reset/hard.c
+3
-3
No files found.
tests/reset/hard.c
View file @
ba52879b
...
@@ -122,9 +122,9 @@ static void unmerged_index_init(git_index *index, int entries)
...
@@ -122,9 +122,9 @@ static void unmerged_index_init(git_index *index, int entries)
int
write_theirs
=
4
;
int
write_theirs
=
4
;
git_oid
ancestor
,
ours
,
theirs
;
git_oid
ancestor
,
ours
,
theirs
;
git_oid_fromstr
(
&
ancestor
,
"
6bb0d9f700543ba3d318ba7075fc3bd696b4287b
"
);
git_oid_fromstr
(
&
ancestor
,
"
452e4244b5d083ddf0460acf1ecc74db9dcfa11a
"
);
git_oid_fromstr
(
&
ours
,
"
b19a1e93bec1317dc6097229e12afaffbfa74dc2
"
);
git_oid_fromstr
(
&
ours
,
"
32504b727382542f9f089e24fddac5e78533e96c
"
);
git_oid_fromstr
(
&
theirs
,
"
950b81b7eee953d050aa05a641f8e056c85dd1bd
"
);
git_oid_fromstr
(
&
theirs
,
"
061d42a44cacde5726057b67558821d95db96f19
"
);
cl_git_rewritefile
(
"status/conflicting_file"
,
"conflicting file
\n
"
);
cl_git_rewritefile
(
"status/conflicting_file"
,
"conflicting file
\n
"
);
...
...
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