Commits


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


detect unknown repository format extensions (such as sha256 format) ok millert


add per-worktree got.conf(5) file in the .got directory; ok millert


add got.conf(5) configuration file ok tracey


use GOT_OBJECTS_PACK_DIR instead of variants of the same which contain typos


read repository owner name with gitconfig parser instead of a hand-rolled one


fix pack index cache; don't open/close pack index files needlessly


parse remotes from gitconfig


use author name/email from ~/.gitconfig if GOT_AUTHOR is not set


obtain repo format version and commit author name/email from .git/config


add support for reading .git/config; parser was based on isakmpd/conf.c


spawn more pack file helpers again now that leaks got fixed /usr/src updates have become slower for some reason and my best guess is that caching of packed data has become less effective with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347 and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)


fork less pack file readers to avoid running into ulimits


more support for tag objects; new code is not yet reachable


back out mini-commits; no significant performance difference