summaryrefslogtreecommitdiff
path: root/gitdb
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-13 19:49:40 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-13 19:49:40 +0100
commit7fd369c8549a975efd74c312aa91194b4569b99e (patch)
treecb7f7a6f7d5321ccdbf85fd42671ca5cd4d5b043 /gitdb
parent8ae4e9579a263684c6b760aec2869be480ff22ba (diff)
downloadgitdb-7fd369c8549a975efd74c312aa91194b4569b99e.tar.gz
setup.py works now, and binary python module can now be loaded as well.
Diffstat (limited to 'gitdb')
-rw-r--r--gitdb/_delta_apply.c2
-rw-r--r--gitdb/fun.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/gitdb/_delta_apply.c b/gitdb/_delta_apply.c
index f03e7ea..8b0f8e0 100644
--- a/gitdb/_delta_apply.c
+++ b/gitdb/_delta_apply.c
@@ -506,7 +506,6 @@ DeltaInfo* DIV_closest_chunk(const DeltaInfoVector* vec, ull ofs)
// Return the amount of chunks a slice at the given spot would have, as well as
// its size in bytes it would have if the possibly partial chunks would be encoded
// and added to the spot marked by sdc
-inline
uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
{
uint num_bytes = 0;
@@ -559,7 +558,6 @@ uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
// destination memory. The individual chunks written will be a byte copy of the source
// data chunk stream
// Return: number of chunks in the slice
-inline
uint DIV_copy_slice_to(const DeltaInfoVector* src, uchar** dest, ull tofs, uint size)
{
assert(DIV_lbound(src) <= tofs);
diff --git a/gitdb/fun.py b/gitdb/fun.py
index 064680a..b7662b4 100644
--- a/gitdb/fun.py
+++ b/gitdb/fun.py
@@ -758,7 +758,6 @@ def is_equal_canonical_sha(canonical_length, match, sha1):
try:
- # NOQA
from _perf import connect_deltas
except ImportError:
pass