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
a03952f0
Commit
a03952f0
authored
Sep 25, 2015
by
Edward Thomson
Committed by
Edward Thomson
May 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch: formatting cleanups
parent
e564fc65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pack-objects.c
+1
-1
src/patch_diff.c
+1
-1
No files found.
src/pack-objects.c
View file @
a03952f0
...
...
@@ -888,7 +888,7 @@ static unsigned int check_delta_limit(git_pobject *me, unsigned int n)
static
unsigned
long
free_unpacked
(
struct
unpacked
*
n
)
{
unsigned
long
freed_mem
=
0
;
if
(
n
->
index
)
{
freed_mem
+=
git_delta_index_size
(
n
->
index
);
git_delta_index_free
(
n
->
index
);
...
...
src/patch_diff.c
View file @
a03952f0
...
...
@@ -25,7 +25,7 @@ static void patch_diff_free(git_patch *p)
{
git_patch_diff
*
patch
=
(
git_patch_diff
*
)
p
;
git_array_clear
(
patch
->
base
.
lines
);
git_array_clear
(
patch
->
base
.
lines
);
git_array_clear
(
patch
->
base
.
hunks
);
git__free
((
char
*
)
patch
->
base
.
binary
.
old_file
.
data
);
...
...
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