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
5cd81bb3
Commit
5cd81bb3
authored
Sep 03, 2014
by
Arkady Shapkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Several CppCat warnings fixed
parent
d4cb23e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
src/blame.c
+0
-1
src/pack.c
+0
-3
src/stash.c
+2
-1
src/transports/smart_protocol.c
+1
-1
No files found.
src/blame.c
View file @
5cd81bb3
...
...
@@ -316,7 +316,6 @@ static int blame_internal(git_blame *blame)
ent
->
suspect
=
o
;
blame
->
ent
=
ent
;
blame
->
path
=
blame
->
path
;
git_blame__like_git
(
blame
,
blame
->
options
.
flags
);
...
...
src/pack.c
View file @
5cd81bb3
...
...
@@ -648,9 +648,6 @@ int git_packfile_unpack(
base_type
=
elem
->
type
;
}
if
(
error
<
0
)
goto
cleanup
;
switch
(
base_type
)
{
case
GIT_OBJ_COMMIT
:
case
GIT_OBJ_TREE
:
...
...
src/stash.c
View file @
5cd81bb3
...
...
@@ -634,7 +634,8 @@ int git_stash_drop(
entry
=
git_reflog_entry_byindex
(
reflog
,
0
);
git_reference_free
(
stash
);
if
((
error
=
git_reference_create
(
&
stash
,
repo
,
GIT_REFS_STASH_FILE
,
&
entry
->
oid_cur
,
1
,
NULL
,
NULL
)
<
0
))
error
=
git_reference_create
(
&
stash
,
repo
,
GIT_REFS_STASH_FILE
,
&
entry
->
oid_cur
,
1
,
NULL
,
NULL
);
if
(
error
<
0
)
goto
cleanup
;
/* We need to undo the writing that we just did */
...
...
src/transports/smart_protocol.c
View file @
5cd81bb3
...
...
@@ -314,7 +314,7 @@ static int wait_while_ack(gitno_buffer *buf)
break
;
if
(
pkt
->
type
==
GIT_PKT_ACK
&&
(
pkt
->
status
!=
GIT_ACK_CONTINUE
||
(
pkt
->
status
!=
GIT_ACK_CONTINUE
&&
pkt
->
status
!=
GIT_ACK_COMMON
))
{
git__free
(
pkt
);
return
0
;
...
...
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