Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-08-30 19:07:41 +0400
committernulltoken <emeric.fermas@gmail.com>2013-08-31 01:19:02 +0400
commit9b4ed214f484f22f127d7398467f45affcc014af (patch)
tree1a9cedf7ae09783f0831821c248a4d1bda1a3545 /src/odb_pack.c
parenta12e069a3e904728d55dc5c92094b0a5cee63da2 (diff)
odb: Code beautification
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 43880612a..d7abd1020 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -342,8 +342,9 @@ static int pack_backend__refresh(git_odb_backend *_backend)
return 0;
}
-
-static int pack_backend__read_header(size_t *len_p, git_otype *type_p, struct git_odb_backend *backend, const git_oid *oid)
+static int pack_backend__read_header(
+ size_t *len_p, git_otype *type_p,
+ struct git_odb_backend *backend, const git_oid *oid)
{
struct git_pack_entry e;
int error;
@@ -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);
}
-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;
git_rawobj raw;