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
30ba98a1
Unverified
Commit
30ba98a1
authored
Oct 04, 2020
by
Edward Thomson
Committed by
GitHub
Oct 04, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5636 from libgit2/pks-release-build-warnings
Fix release build warnings
parents
8087498d
b254a585
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
src/patch_parse.c
+1
-1
src/refs.c
+1
-1
src/sysdir.c
+4
-1
No files found.
src/patch_parse.c
View file @
30ba98a1
...
...
@@ -198,7 +198,7 @@ static int parse_header_git_index(
return
-
1
;
if
(
git_parse_peek
(
&
c
,
&
ctx
->
parse_ctx
,
0
)
==
0
&&
c
==
' '
)
{
uint16_t
mode
;
uint16_t
mode
=
0
;
git_parse_advance_chars
(
&
ctx
->
parse_ctx
,
1
);
...
...
src/refs.c
View file @
30ba98a1
...
...
@@ -606,7 +606,7 @@ int git_reference_rename(
const
char
*
log_message
)
{
refs_update_head_payload
payload
;
git_signature
*
signature
;
git_signature
*
signature
=
NULL
;
git_repository
*
repo
;
int
error
;
...
...
src/sysdir.c
View file @
30ba98a1
...
...
@@ -298,8 +298,11 @@ static int git_sysdir_find_in_dirlist(
}
done:
git_buf_dispose
(
path
);
if
(
name
)
git_error_set
(
GIT_ERROR_OS
,
"the %s file '%s' doesn't exist"
,
label
,
name
);
else
git_error_set
(
GIT_ERROR_OS
,
"the %s directory doesn't exist"
,
label
);
git_buf_dispose
(
path
);
return
GIT_ENOTFOUND
;
}
...
...
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