commit - e7a5b9e9b763327a7e1ddd69f6bc533565d60794
commit + b32c452563c515bd8597b168d85510fa50d64f65
blob - 6f21c243c040a06f433847a4e6acc5139ef800a8
blob + 94876ae5bc42e5a943600ed854570f3885868489
--- README
+++ README
$ doas pkg_add git
$ make regress
+To test with packed repositories, run:
+
+ $ make regress GOT_TEST_PACK=1
+
Man page files in the Got source tree can be viewed with 'man -l':
$ man -l got/got.1
blob - 1b91f45a44501291c93f9f5e151ef448f9e31e77
blob + 308999201effafc266761686104d8d0aa0ba9ae7
--- regress/cmdline/common.sh
+++ regress/cmdline/common.sh
git init -q "$1"
}
+function maybe_pack_repo
+{
+ local repo="$1"
+ if [ -n "$GOT_TEST_PACK" ]; then
+ (cd $repo && git repack -a -q)
+ fi
+}
+
function git_commit
{
local repo="$1"
shift
(cd $repo && git commit --author="$GOT_AUTHOR" -q -a "$@")
+ maybe_pack_repo $repo
}
function git_rm
local msg="$2"
local tree="$3"
(cd $repo && git commit-tree -m "$msg" "$tree")
+ maybe_pack_repo $repo
}
function make_test_tree