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
7dcd42a5
Commit
7dcd42a5
authored
Mar 31, 2014
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanups
parent
c856f8c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/iterator.c
+1
-1
src/merge_file.c
+2
-2
src/submodule.h
+1
-1
No files found.
src/iterator.c
View file @
7dcd42a5
...
...
@@ -10,7 +10,7 @@
#include "index.h"
#include "ignore.h"
#include "buffer.h"
#include "
git2/
submodule.h"
#include "submodule.h"
#include <ctype.h>
#define ITERATOR_SET_CB(P,NAME_LC) do { \
...
...
src/merge_file.c
View file @
7dcd42a5
...
...
@@ -117,7 +117,7 @@ static int git_merge_file__from_inputs(
memset
(
out
,
0x0
,
sizeof
(
git_merge_file_result
));
merge_file_normalize_opts
(
&
options
,
given_opts
);
merge_file_normalize_opts
(
&
options
,
given_opts
);
memset
(
&
xmparam
,
0x0
,
sizeof
(
xmparam_t
));
...
...
@@ -165,7 +165,7 @@ static int git_merge_file__from_inputs(
}
out
->
automergeable
=
(
xdl_result
==
0
);
out
->
ptr
=
(
unsigned
char
*
)
mmbuffer
.
ptr
;
out
->
ptr
=
(
const
char
*
)
mmbuffer
.
ptr
;
out
->
len
=
mmbuffer
.
size
;
out
->
mode
=
merge_file_best_mode
(
ancestor
,
ours
,
theirs
);
...
...
src/submodule.h
View file @
7dcd42a5
...
...
@@ -120,7 +120,7 @@ enum {
((S) & ~(0xFFFFFFFFu << 20))
/* Internal submodule check does not attempt to refresh cached data */
bool
git_submodule__is_submodule
(
git_repository
*
repo
,
const
char
*
name
);
extern
bool
git_submodule__is_submodule
(
git_repository
*
repo
,
const
char
*
name
);
/* Internal status fn returns status and optionally the various OIDs */
extern
int
git_submodule__status
(
...
...
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