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
91524172
Commit
91524172
authored
Jan 02, 2014
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings with submodule changes
parent
f3a302ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/git2/submodule.h
+1
-1
src/submodule.c
+3
-3
No files found.
include/git2/submodule.h
View file @
91524172
...
...
@@ -437,7 +437,7 @@ GIT_EXTERN(git_submodule_recurse_t) git_submodule_fetch_recurse_submodules(
* @param fetch_recurse_submodules Boolean value
* @return old value for fetchRecurseSubmodules
*/
GIT_EXTERN
(
in
t
)
git_submodule_set_fetch_recurse_submodules
(
GIT_EXTERN
(
git_submodule_recurse_
t
)
git_submodule_set_fetch_recurse_submodules
(
git_submodule
*
submodule
,
git_submodule_recurse_t
fetch_recurse_submodules
);
...
...
src/submodule.c
View file @
91524172
...
...
@@ -632,11 +632,11 @@ git_submodule_recurse_t git_submodule_fetch_recurse_submodules(
return
submodule
->
fetch_recurse
;
}
in
t
git_submodule_set_fetch_recurse_submodules
(
git_submodule_recurse_
t
git_submodule_set_fetch_recurse_submodules
(
git_submodule
*
submodule
,
git_submodule_recurse_t
fetch_recurse_submodules
)
{
in
t
old
;
git_submodule_recurse_
t
old
;
assert
(
submodule
);
...
...
@@ -990,7 +990,7 @@ static git_submodule *submodule_alloc(git_repository *repo, const char *name)
GIT_REFCOUNT_INC
(
sm
);
sm
->
ignore
=
sm
->
ignore_default
=
GIT_SUBMODULE_IGNORE_NONE
;
sm
->
update
=
sm
->
update_default
=
GIT_SUBMODULE_UPDATE_CHECKOUT
;
sm
->
fetch_recurse
=
sm
->
update_default
=
GIT_SUBMODULE_RECURSE_YES
;
sm
->
fetch_recurse
=
GIT_SUBMODULE_RECURSE_YES
;
sm
->
repo
=
repo
;
return
sm
;
...
...
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