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
c3b427ba
Unverified
Commit
c3b427ba
authored
Nov 25, 2018
by
Edward Thomson
Committed by
GitHub
Nov 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4896 from csware/C4133
Fix warning C4133 incompatible types in MSVC
parents
0e3e832d
f0714daf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/repository.c
+2
-2
No files found.
src/repository.c
View file @
c3b427ba
...
...
@@ -1417,7 +1417,7 @@ static bool are_symlinks_supported(const char *wd_path)
git_buf
path
=
GIT_BUF_INIT
;
int
fd
;
struct
stat
st
;
bool
symlinks
=
false
;
int
symlinks
=
0
;
/*
* To emulate Git for Windows, symlinks on Windows must be explicitly
...
...
@@ -1462,7 +1462,7 @@ static bool are_symlinks_supported(const char *wd_path)
done:
git_buf_dispose
(
&
path
);
git_config_free
(
config
);
return
symlinks
;
return
symlinks
!=
0
;
}
static
int
create_empty_file
(
const
char
*
path
,
mode_t
mode
)
...
...
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