Commits
- Commit:
04051e8bf0f434a80f5d786b1c6e9dfc8c99ad45
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
refresh our pack-index path list if the mtime of objects/pack has changed
ok op@
- Commit:
ec2b23c5d2570888a1d83ce2e8eee5a90eeff695
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement support for commit coloring in got-read-pack for speed
ok op, tracey
- Commit:
6cb2eb6e36d43d77dc4e32e19290ec1b9dd7c2e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce GOT_PACK_CACHE_SIZE to 32, otherwise it uses too many open files
found by tracey
- Commit:
de47d040c7458d8bddac77ba76a8a5e61aa8eb44
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
f9c2e8e5d5310b6b1cd22dcfc8f9f5d1d7a16d19
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
cfe4112187cdecbd49844c80bb337c1671a2d7ab
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use RB_TREE instead of STAILQ to manage packindex bloom filters; much faster
- Commit:
4eaf43871217ec0d5ddda0840af42350cd4048fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use a bloom filter to avoid pointless pack index searches
- Commit:
8ab9215ce40afc9580a77aacb351ad235c4482c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cache raw objects in order to speed up gotadmin pack
- Commit:
0be8fa4c11ab3b1e2c7f93a8d8649c885cd72d28
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use RB_TREE instead of STAILQ to manage packindex bloom filters; much faster
- Commit:
4545b700107608ae12d074627db4e14d39f6b1fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use a bloom filter to avoid pointless pack index searches
- Commit:
abc59930d57a2d46c310e1b0c758c948554bc1af
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
1124fe406f09a7d5d995da60e6251e3440226d40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle pack index files which lack a corresponding pack file
ok millert
- Commit:
6c41426143b93f57eebf1aaac35dcee4fa3fc282
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cap pack file cache size at 1/8 of the current open file desciptor limit
- Commit:
159a21e5a66248bba48b1b665ff4c2c3c61b2240
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
increase pack index cache size from 16 to 64 to improve performance
This can make a huge difference on repositories which contain more than
16 pack files, at the expense of additional open file handles.
My test case was a ports.git repository with > 60 pack files (these
accumulate due to 'got fetch', and 'git repack -a' would condense them).
With cache size 16 'got update' in /usr/ports took more than 60 seconds.
With cache size 64 the same command took less than 5 seconds.
The root cause is probably that mapping and unmapping large files over
and over again is expensive on OpenBSD.
- Commit:
6d5a9006ab2a400b488b9e93ec9647fb9b2a0930
- From:
- Yang Zhong <yzhong@freebsdfoundation.org>
- Date:
add fd field to got_repository, modify got_packidx_open to use fds
These changes are intended to make got more compatible with
FreeBSD's Capsicum.
ok stsp
- Commit:
20b7abb3fa8e5b46bacd07df9f85cfd7edc5a4c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect unknown repository format extensions (such as sha256 format)
ok millert
- Commit:
50b0790ed9a28fced631f31e5b7ca76a9a610ea5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add per-worktree got.conf(5) file in the .got directory; ok millert
- Commit:
257add310e4b16ae43b467b91f66b773da39f470
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got.conf(5) configuration file
ok tracey
- Commit:
66cba96f002a13482c34efaaf5ace08a33f45ec4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use GOT_OBJECTS_PACK_DIR instead of variants of the same which contain typos
- Commit:
9a1cc63fe0022b929860dfe206daf674f83a7d9a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
read repository owner name with gitconfig parser instead of a hand-rolled one
- Commit:
e1a68182da13b954790863084cfae4ab655e2bff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix pack index cache; don't open/close pack index files needlessly
- Commit:
cd95becd3d0ee4fb578daf570177c3550cb19e08
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
parse remotes from gitconfig
- Commit:
c9956ddf7cbdd423962dfe489379e54cecc3eb1d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
- Commit:
aba9c984d1420b77b23320520e70b27ecc83acf7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
obtain repo format version and commit author name/email from .git/config
- Commit:
1d126e2d216c06991bbc586d796b3d002b2bd7d6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for reading .git/config; parser was based on isakmpd/conf.c