Commits
- Commit:
b9de8018be96c42d3421711a341c1fc8f6d7e0fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move declaration of got_privsep_child out of got_lib_privsep.h
This declaration is the only reason why got_lib_privsep.h must be
included in order to use got_lib_repository.h. Moving this declaration
will allow for cleaning up unnecessary includes of got_lib_privsep.h.
- Commit:
6a800804535a75203abfb3708e68a661c1c89958
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move code for reading Git's config file into new file read_gitconfig_privsep.c
The end goal here is to remove the dependency of repository.c on privsep.c
during compilation.
- Commit:
b8a4401b8e46c0a32b824433c648ea749898616b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refresh our pack-index path list if the mtime of objects/pack has changed
ok op@
- Commit:
61af9b215c06bece11deb27d941b390b81e0f8c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement support for commit coloring in got-read-pack for speed
ok op, tracey
- Commit:
cfcf1cbc17e0ba04db86f31e48233e0ef2e9fd6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce GOT_PACK_CACHE_SIZE to 32, otherwise it uses too many open files
found by tracey
- 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:
67fd68496517d3103b130a1085efdd4591bd7416
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
d3c116bf7268bde4ceb3311eb4ed995fc4776487
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache raw objects in order to speed up gotadmin pack
- Commit:
f8b19efda6453501f8bc4ce868f953b703dca576
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use RB_TREE instead of STAILQ to manage packindex bloom filters; much faster
- Commit:
b343c297c60d4200da952ab5b2843eec39ed42b1
- From:
- Stefan Sperling <stsp@stsp.name>
- 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