summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-09-13 03:23:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-13 22:45:45 (GMT)
commit4d0efa101bbbc63d8bd1ec0477f027f23b9f573b (patch)
tree6e6b1715b2fa4711a2e1d7222aad80ba2414da5d /builtin/init-db.c
parent4543926ba8f8ec596dd4e45f206f4fbc29350567 (diff)
downloadgit-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.zip
git-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.tar.gz
git-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.tar.bz2
t1007: factor out repeated setup
We have a series of 3 CRLF tests that do exactly the same (long) setup sequence. Let's pull it out into a common setup test, which is shorter, more efficient, and will make it easier to add new tests. Note that we don't have to worry about cleaning up any of the setup which was previously per-test; we call pop_repo after the CRLF tests, which cleans up everything. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions