t9351: derive anonymized tree checks from original repo
commitb8c0689bb97b3ef3027e4d3670538d4cdacd638d
authorJeff King <peff@peff.net>
Tue, 23 Jun 2020 15:24:47 +0000 (23 11:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2020 02:56:26 +0000 (23 19:56 -0700)
tree5a733d253463db394198528fd615d71b1acef3d8
parentc9c318d6bf26bcecdca5b6f31683b9d5887a83ee
t9351: derive anonymized tree checks from original repo

Our tests of the anonymized repo just hard-code the expected set of
objects in the root and subdirectory trees. This makes them brittle to
the test setup changing (e.g., adding new paths that need tested).

Let's look at the original repo to compute our expected set of objects.
Note that this isn't completely perfect (e.g., we still rely on there
being only one tree in the root), but it does simplify later patches.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9351-fast-export-anonymize.sh