Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lib-midx.sh « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12619947449a43fd1d495c36dfbfcd268bacb74a (plain)
1
2
3
4
5
6
7
8
# test_midx_consistent <objdir>
test_midx_consistent () {
	ls $1/pack/pack-*.idx | xargs -n 1 basename | sort >expect &&
	test-tool read-midx $1 | grep ^pack-.*\.idx$ | sort >actual &&

	test_cmp expect actual &&
	git multi-pack-index --object-dir=$1 verify
}