[PATCHv2 2/8] t7502: factor out autoident prerequisite

2012-11-14 Thread Jeff King
t7502 checks the behavior of commit when we can and cannot determine a valid committer ident. Let's move that into test-lib as a lazy prerequisite so other scripts can use it. Signed-off-by: Jeff King p...@peff.net --- t/t7502-commit.sh | 12 +--- t/test-lib.sh | 6 ++ 2 files

Re: [PATCHv2 2/8] t7502: factor out autoident prerequisite

2012-11-14 Thread Jonathan Nieder
Jeff King wrote: --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -738,6 +738,12 @@ test_lazy_prereq UTF8_NFD_TO_NFC ' esac ' +test_lazy_prereq AUTOIDENT ' + sane_unset GIT_AUTHOR_NAME + sane_unset GIT_AUTHOR_EMAIL + git var GIT_AUTHOR_IDENT +' Lazy prereq scripts run