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
9b4ed214
Commit
9b4ed214
authored
Aug 30, 2013
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odb: Code beautification
parent
a12e069a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/odb_pack.c
+6
-3
No files found.
src/odb_pack.c
View file @
9b4ed214
...
@@ -342,8 +342,9 @@ static int pack_backend__refresh(git_odb_backend *_backend)
...
@@ -342,8 +342,9 @@ static int pack_backend__refresh(git_odb_backend *_backend)
return
0
;
return
0
;
}
}
static
int
pack_backend__read_header
(
static
int
pack_backend__read_header
(
size_t
*
len_p
,
git_otype
*
type_p
,
struct
git_odb_backend
*
backend
,
const
git_oid
*
oid
)
size_t
*
len_p
,
git_otype
*
type_p
,
struct
git_odb_backend
*
backend
,
const
git_oid
*
oid
)
{
{
struct
git_pack_entry
e
;
struct
git_pack_entry
e
;
int
error
;
int
error
;
...
@@ -356,7 +357,9 @@ static int pack_backend__read_header(size_t *len_p, git_otype *type_p, struct gi
...
@@ -356,7 +357,9 @@ static int pack_backend__read_header(size_t *len_p, git_otype *type_p, struct gi
return
git_packfile_resolve_header
(
len_p
,
type_p
,
e
.
p
,
e
.
offset
);
return
git_packfile_resolve_header
(
len_p
,
type_p
,
e
.
p
,
e
.
offset
);
}
}
static
int
pack_backend__read
(
void
**
buffer_p
,
size_t
*
len_p
,
git_otype
*
type_p
,
git_odb_backend
*
backend
,
const
git_oid
*
oid
)
static
int
pack_backend__read
(
void
**
buffer_p
,
size_t
*
len_p
,
git_otype
*
type_p
,
git_odb_backend
*
backend
,
const
git_oid
*
oid
)
{
{
struct
git_pack_entry
e
;
struct
git_pack_entry
e
;
git_rawobj
raw
;
git_rawobj
raw
;
...
...
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