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
2f60073d
Commit
2f60073d
authored
Jun 30, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3273 from ethomson/warnings3
More warnings
parents
cb58fb24
eb29292a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
src/diff_print.c
+1
-1
src/transports/winhttp.c
+0
-1
src/unix/posix.h
+1
-0
tests/checkout/conflict.c
+4
-1
tests/index/addall.c
+0
-0
No files found.
src/diff_print.c
View file @
2f60073d
...
...
@@ -336,7 +336,7 @@ static int format_binary(
"delta"
:
"literal"
;
const
char
*
scan
,
*
end
;
git_buf_printf
(
pi
->
buf
,
"%s %
lu
\n
"
,
typename
,
inflatedlen
);
git_buf_printf
(
pi
->
buf
,
"%s %
"
PRIuZ
"
\n
"
,
typename
,
inflatedlen
);
pi
->
line
.
num_lines
++
;
for
(
scan
=
data
,
end
=
data
+
datalen
;
scan
<
end
;
)
{
...
...
src/transports/winhttp.c
View file @
2f60073d
...
...
@@ -1096,7 +1096,6 @@ static int winhttp_stream_write_chunked(
size_t
len
)
{
winhttp_stream
*
s
=
(
winhttp_stream
*
)
stream
;
winhttp_subtransport
*
t
=
OWNING_SUBTRANSPORT
(
s
);
int
error
;
if
(
!
s
->
request
&&
winhttp_stream_connect
(
s
)
<
0
)
...
...
src/unix/posix.h
View file @
2f60073d
...
...
@@ -11,6 +11,7 @@
#include <dirent.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/stat.h>
typedef
int
GIT_SOCKET
;
#define INVALID_SOCKET -1
...
...
tests/checkout/conflict.c
View file @
2f60073d
...
...
@@ -161,7 +161,10 @@ static void ensure_workdir_oid(const char *path, const char *oid_str)
static
void
ensure_workdir_mode
(
const
char
*
path
,
int
mode
)
{
#ifndef GIT_WIN32
#ifdef GIT_WIN32
GIT_UNUSED
(
path
);
GIT_UNUSED
(
mode
);
#else
git_buf
fullpath
=
GIT_BUF_INIT
;
struct
stat
st
;
...
...
tests/index/addall.c
View file @
2f60073d
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