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
78ee7e81
Commit
78ee7e81
authored
Feb 05, 2014
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More merge.conflictstyle fixes
parent
3094102f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
tests/revert/workdir.c
+7
-0
No files found.
tests/revert/workdir.c
View file @
78ee7e81
...
...
@@ -15,8 +15,15 @@ static git_index *repo_index;
// Fixture setup and teardown
void
test_revert_workdir__initialize
(
void
)
{
git_config
*
cfg
;
repo
=
cl_git_sandbox_init
(
TEST_REPO_PATH
);
git_repository_index
(
&
repo_index
,
repo
);
/* Ensure that the user's merge.conflictstyle doesn't interfere */
cl_git_pass
(
git_repository_config
(
&
cfg
,
repo
));
cl_git_pass
(
git_config_set_string
(
cfg
,
"merge.conflictstyle"
,
"merge"
));
git_config_free
(
cfg
);
}
void
test_revert_workdir__cleanup
(
void
)
...
...
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