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
fe79750b
Commit
fe79750b
authored
Jun 06, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #236 from Jopie64/development
Fix build errors on MSVC
parents
00c31dd2
393a9f9e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/odb_pack.c
+1
-1
src/repository.c
+1
-1
No files found.
src/odb_pack.c
View file @
fe79750b
...
@@ -960,7 +960,7 @@ static int pack_entry_find_offset(
...
@@ -960,7 +960,7 @@ static int pack_entry_find_offset(
const
unsigned
char
*
index
=
p
->
index_map
.
data
;
const
unsigned
char
*
index
=
p
->
index_map
.
data
;
unsigned
hi
,
lo
,
stride
;
unsigned
hi
,
lo
,
stride
;
int
pos
,
found
=
0
;
int
pos
,
found
=
0
;
const
unsigned
char
*
current
;
const
unsigned
char
*
current
=
0
;
*
offset_out
=
0
;
*
offset_out
=
0
;
...
...
src/repository.c
View file @
fe79750b
...
@@ -464,7 +464,7 @@ int git_repository_discover(char *repository_path, size_t size, const char *star
...
@@ -464,7 +464,7 @@ int git_repository_discover(char *repository_path, size_t size, const char *star
char
bare_path
[
GIT_PATH_MAX
];
char
bare_path
[
GIT_PATH_MAX
];
char
normal_path
[
GIT_PATH_MAX
];
char
normal_path
[
GIT_PATH_MAX
];
char
*
found_path
;
char
*
found_path
;
dev_t
current_device
;
dev_t
current_device
=
0
;
assert
(
start_path
&&
repository_path
);
assert
(
start_path
&&
repository_path
);
memset
(
&
repo
,
0x0
,
sizeof
(
git_repository
));
memset
(
&
repo
,
0x0
,
sizeof
(
git_repository
));
...
...
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