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
19aa8416
Commit
19aa8416
authored
Sep 29, 2012
by
Sven Strickroth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence MinGW warnings
Signed-off-by: Sven Strickroth <email@cs-ware.de>
parent
dee18b82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/config.h
+1
-0
src/fileops.c
+2
-2
No files found.
src/config.h
View file @
19aa8416
...
...
@@ -24,6 +24,7 @@ struct git_config {
};
extern
int
git_config_find_global_r
(
git_buf
*
global_config_path
);
extern
int
git_config_find_xdr_r
(
git_buf
*
system_config_path
);
extern
int
git_config_find_system_r
(
git_buf
*
system_config_path
);
extern
int
git_config_parse_bool
(
int
*
out
,
const
char
*
bool_string
);
...
...
src/fileops.c
View file @
19aa8416
...
...
@@ -469,7 +469,7 @@ nullterm:
return
(
orgsrc
!=
src
)
?
(
wchar_t
*
)
src
:
NULL
;
}
int
win32_find_system_file_using_path
(
git_buf
*
path
,
const
char
*
filename
)
static
int
win32_find_system_file_using_path
(
git_buf
*
path
,
const
char
*
filename
)
{
wchar_t
*
env
=
NULL
;
struct
win32_path
root
;
...
...
@@ -502,7 +502,7 @@ int win32_find_system_file_using_path(git_buf *path, const char *filename)
return
GIT_ENOTFOUND
;
}
int
win32_find_system_file_using_registry
(
git_buf
*
path
,
const
char
*
filename
)
static
int
win32_find_system_file_using_registry
(
git_buf
*
path
,
const
char
*
filename
)
{
#ifndef _WIN64
#define REG_MSYSGIT_INSTALL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1"
...
...
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