Re: Introducing a test_create_repo_bare (was Re: [PATCHv2 6/6] t5543-atomic-push.sh: add basic tests for atomic pushes)
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 18, 2014, 00:28 UTC
- Message-ID
- <20141218002825.GQ29365@google.com>
- In-Reply-To
- <xmqq61d996oc.fsf@gitster.dls.corp.google.com>
Junio C Hamano wrote:
> The issue is if some existing tests will be helped, if we had such a > helper.
Since both bin-wrappers/git and test-lib.sh set GIT_TEMPLATE_DIR and templates/blt doesn't contain any enabled hooks, I don't see how such a helper would be useful.
If making things more consistent were worth the churn, then if anything it would make sense to make test_create_repo private to the setup code in test-lib.sh and to use plain 'git init <directory>' in tests.
Jonathan