Re: [PATCH 6/6] use setup_git_directory() in test-* programs

2016-03-06 Thread Junio C Hamano
Jeff King 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 > --- > As discussed elsewhere, test-match-trees isn't actually used

[PATCH 6/6] use setup_git_directory() in test-* programs

2016-03-05 Thread Jeff King
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 --- As discussed elsewhere, test-match-trees isn't actually used in the test suite (except for the