Jeff King <peff@xxxxxxxx> writes: > Some of the test-* programs rely on examining refs, but did > not bother to make sure we are actually in a git repository. > Let's have them call setup_git_directory() to do so. > > Signed-off-by: Jeff King <peff@xxxxxxxx> > --- > As discussed elsewhere, test-match-trees isn't actually used in the test > suite (except for the weird use which was removed in patch 1 here). So > we could also just get rid of it, but maybe somebody uses it for > debugging or something. I tend to agree that it is very tempting to remove that one. It was a throw-away program I wrote early while inventing the subtree merge strategy. It would be useful only to those who want to extend the heuristics of figuring out how to shift two trees to make them match, without having to exercise the whole merge-recursive machinery. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html