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
094cfc29
Commit
094cfc29
authored
Feb 14, 2015
by
Edward Thomson
Committed by
Edward Thomson
Feb 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cherrypick, revert: drop unnecessary SAFE_CREATE
parent
366e53d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/cherrypick.c
+1
-1
src/revert.c
+1
-1
No files found.
src/cherrypick.c
View file @
094cfc29
...
@@ -72,7 +72,7 @@ static int cherrypick_normalize_opts(
...
@@ -72,7 +72,7 @@ static int cherrypick_normalize_opts(
const
char
*
their_label
)
const
char
*
their_label
)
{
{
int
error
=
0
;
int
error
=
0
;
unsigned
int
default_checkout_strategy
=
GIT_CHECKOUT_SAFE
_CREATE
|
unsigned
int
default_checkout_strategy
=
GIT_CHECKOUT_SAFE
|
GIT_CHECKOUT_ALLOW_CONFLICTS
;
GIT_CHECKOUT_ALLOW_CONFLICTS
;
GIT_UNUSED
(
repo
);
GIT_UNUSED
(
repo
);
...
...
src/revert.c
View file @
094cfc29
...
@@ -73,7 +73,7 @@ static int revert_normalize_opts(
...
@@ -73,7 +73,7 @@ static int revert_normalize_opts(
const
char
*
their_label
)
const
char
*
their_label
)
{
{
int
error
=
0
;
int
error
=
0
;
unsigned
int
default_checkout_strategy
=
GIT_CHECKOUT_SAFE
_CREATE
|
unsigned
int
default_checkout_strategy
=
GIT_CHECKOUT_SAFE
|
GIT_CHECKOUT_ALLOW_CONFLICTS
;
GIT_CHECKOUT_ALLOW_CONFLICTS
;
GIT_UNUSED
(
repo
);
GIT_UNUSED
(
repo
);
...
...
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