Building cgit with git v2.24.0 produces segmentation faults in
repositories that were garbage collected.
Run `git gc`in one of the generated repositories to add another
test case.
git commit -m "add a+b"
git branch "1+2"
fi
+ if test "$3" = "gc"
+ then
+ git gc -q
+ fi
)
}
rm -rf cache
mkdir -p cache
mkrepo repos/foo 5 >/dev/null
- mkrepo repos/bar 50 >/dev/null
+ mkrepo repos/bar 50 gc >/dev/null
mkrepo repos/foo+bar 10 testplus >/dev/null
mkrepo "repos/with space" 2 >/dev/null
mkrepo repos/filter 5 testplus >/dev/null