Commits
- Commit:
6863cbf96527f4b60a3fec65aa04808cbdc0b39e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix pack progress object counter for loose objects
Move pack progres object accounting to a single place. This makes
it easier to account for the case were only loose objects are packed.
A wrong amount of objects was reported before when packing loose ones.
- Commit:
c4e796b22e894d9f1b17844f6b2f05acadf519aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in pack progress output, remove excluded objects from 'found' objects counter
- Commit:
cdeb891a2479c24d74198d39285be4c75c366c3f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where 'gotadmin pack' packed too many objects unless -a was used
- Commit:
bfc73a473bd3dbde973c26a5580d74441b7edfb6
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
explicitly include <unistd.h> for close(2)
- Commit:
b8af7c0693fbaccaecf7b904aaf237066269f222
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
print additional progress information while packing
ok op@
- Commit:
9b576444ae8786f3cc494c57cb8e7a64b74970db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache a list of known pack index files when the repository is opened
Avoids overhead due to readdir calls while searching a pack index.
ok op@
- Commit:
e3f8625647b5837c386e831cce4e69268343b5d9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
explicitly include <endian.h> for be32toh()
- Commit:
28526235ae6336b37d0f79a3c266c3a92587f279
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix pack.sh test failure from reuse-deltas patch by tweaking progress output
- Commit:
67fd68496517d3103b130a1085efdd4591bd7416
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
72840534edfc1ffa7aafa0ce0ab42568c8ec7145
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
compress delta data from delta_cache directly into pack file
- Commit:
402a5ec1f96e30e83525c0e1509f854a706d1066
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set a cap on the amount of memory we use to store encoded deltas
- Commit:
5060d5a177f3837f037dfeb5a6ba245baf16a8c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
encode short deltas in memory instead of writing them to a temporary file
- Commit:
64a8571e126da3ef8c0488551727b87e4509b50d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
map raw object files into memory while packing if possible
- Commit:
59b21794ec192212e590f29fd2957e73dc5dc5fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
only open raw objects if necessary while writing out pack file data
significantly speeds up the "writing pack: " step of gotadmin pack
- Commit:
211cfef0b26adf6eade801e8beae44526d31d1ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use time-based rate-limiting for gotadmin progress output
Suggested by naddy some time ago.
ok tracey
- Commit:
22edbce7dffddead032aaa20dcafcf33c5118cef
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use up to 128 delta chain elements again; creates smaller packs at same speed
- Commit:
4f4d853e5a672ea469a2532774867305712b418e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
try only 3 delta base candidates instead of 10 to speed up packing
Tests by kn, thomas_adam and myself made on various repositories
indicate that 3 is a good choice. Tyring 10 deltas is much slower
and does not result in significantly smaller pack files.
- Commit:
a319ca8c90cbd4f20325a9b71d685a7cca36da9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move encode_delta() in pack_create.c to eliminate a forward declaration
- Commit:
748817012564e9ed225b41406d8174d23b8b1796
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
while packing, store encoded deltas in a temporary file instead of in memory
- Commit:
dc20764a37894e042fc3f8be9c5e413fe2521873
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
limit delta chain length in newly created pack files to 32 deltas
Our former limit was 128 which is fairly high. Git uses 50 by default.
A smaller limit results in slightly larger pack files but makes both
packing and unpacking faster.
- Commit:
94dac27cd14d635dc83d202ffa7ed21dad0de278
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
raw object blocksize and read buffer were unused; remove them
- Commit:
d3c116bf7268bde4ceb3311eb4ed995fc4776487
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache raw objects in order to speed up gotadmin pack
- Commit:
cc7a354afc4ae05de465ac2cf97b558fec5b271f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse temporary files which were not used by got_object_raw_open()
- Commit:
600b755ed0123e8da4404f6cf4354d152355ac4d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid opening delta base objects in genpack() just to find their size
- Commit:
08347b7357a37b89f76765dcc54f66b769a13f5d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
encode deltas in temporary files to avoid high memory usage