summaryrefslogtreecommitdiff
path: root/src/odb_pack.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-06-30 19:52:34 +0300
committerVicent Marti <tanoku@gmail.com>2011-07-01 18:02:56 +0200
commit932d1baf294aaacfd5a99e7758a3c08d8ffc22ab (patch)
treee6714d92345ed9a916d8cd771ab1588333d41998 /src/odb_pack.c
parent1f4f4d17046e43ca24da9621323d921ae0d0f5dd (diff)
downloadlibgit2-932d1baf294aaacfd5a99e7758a3c08d8ffc22ab.tar.gz
cleanup: remove trailing spaces
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 2328f527c..2f95faee5 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -227,7 +227,7 @@ struct pack_backend {
-
+
/***********************************************************
*
* FORWARD DECLARATIONS
@@ -306,7 +306,7 @@ static off_t get_delta_base(struct pack_backend *backend,
static unsigned long packfile_unpack_header1(
size_t *sizep,
- git_otype *type,
+ git_otype *type,
const unsigned char *buf,
unsigned long len);
@@ -807,7 +807,7 @@ static int packfile_open(struct pack_file *p)
if (git_oid_cmp(&sha1, (git_oid *)idx_sha1) != 0)
goto cleanup;
- return GIT_SUCCESS;
+ return GIT_SUCCESS;
cleanup:
gitfo_close(p->pack_fd);
@@ -1068,7 +1068,7 @@ static int pack_entry_find1(
return git__rethrow(error, "Failed to find pack entry. Couldn't find offset");
/* we found a unique entry in the index;
- * make sure the packfile backing the index
+ * make sure the packfile backing the index
* still exists on disk */
if (p->pack_fd == -1 && packfile_open(p) < GIT_SUCCESS)
return git__throw(GIT_EOSERR, "Failed to find pack entry. Packfile doesn't exist on disk");
@@ -1177,7 +1177,7 @@ static int pack_entry_find_prefix(
static unsigned long packfile_unpack_header1(
size_t *sizep,
- git_otype *type,
+ git_otype *type,
const unsigned char *buf,
unsigned long len)
{
@@ -1385,7 +1385,7 @@ static int packfile_unpack(
size_t size = 0;
git_otype type;
- /*
+ /*
* TODO: optionally check the CRC on the packfile
*/