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
fb190bbb
Commit
fb190bbb
authored
Nov 12, 2013
by
Linquize
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
6414fd33
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
examples/blame.c
+1
-1
src/netops.c
+1
-1
src/pack-objects.c
+1
-1
src/push.c
+1
-1
No files found.
examples/blame.c
View file @
fb190bbb
...
@@ -114,7 +114,7 @@ int main(int argc, char *argv[])
...
@@ -114,7 +114,7 @@ int main(int argc, char *argv[])
rawdata
+
i
);
rawdata
+
i
);
}
}
i
=
eol
-
rawdata
+
1
;
i
=
(
int
)(
eol
-
rawdata
+
1
)
;
line
++
;
line
++
;
}
}
...
...
src/netops.c
View file @
fb190bbb
...
@@ -662,7 +662,7 @@ void gitno_connection_data_free_ptrs(gitno_connection_data *d)
...
@@ -662,7 +662,7 @@ void gitno_connection_data_free_ptrs(gitno_connection_data *d)
static
char
*
unescape
(
char
*
str
)
static
char
*
unescape
(
char
*
str
)
{
{
int
x
,
y
;
int
x
,
y
;
in
t
len
=
strlen
(
str
);
size_
t
len
=
strlen
(
str
);
for
(
x
=
y
=
0
;
str
[
y
];
++
x
,
++
y
)
{
for
(
x
=
y
=
0
;
str
[
y
];
++
x
,
++
y
)
{
if
((
str
[
x
]
=
str
[
y
])
==
'%'
)
{
if
((
str
[
x
]
=
str
[
y
])
==
'%'
)
{
...
...
src/pack-objects.c
View file @
fb190bbb
...
@@ -272,7 +272,7 @@ static int write_object(git_buf *buf, git_packbuilder *pb, git_pobject *po)
...
@@ -272,7 +272,7 @@ static int write_object(git_buf *buf, git_packbuilder *pb, git_pobject *po)
git_buf
zbuf
=
GIT_BUF_INIT
;
git_buf
zbuf
=
GIT_BUF_INIT
;
git_otype
type
;
git_otype
type
;
unsigned
char
hdr
[
10
];
unsigned
char
hdr
[
10
];
unsigned
in
t
hdr_len
;
size_
t
hdr_len
;
unsigned
long
size
;
unsigned
long
size
;
void
*
data
;
void
*
data
;
...
...
src/push.c
View file @
fb190bbb
...
@@ -618,7 +618,7 @@ on_error:
...
@@ -618,7 +618,7 @@ on_error:
static
int
filter_refs
(
git_remote
*
remote
)
static
int
filter_refs
(
git_remote
*
remote
)
{
{
const
git_remote_head
**
heads
;
git_remote_head
**
heads
;
size_t
heads_len
,
i
;
size_t
heads_len
,
i
;
git_vector_clear
(
&
remote
->
refs
);
git_vector_clear
(
&
remote
->
refs
);
...
...
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