aboutsummaryrefslogtreecommitdiff
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-09-12 20:23:12 -0700
committerJunio C Hamano <gitster@pobox.com>2016-09-13 15:45:45 -0700
commit4d0efa101bbbc63d8bd1ec0477f027f23b9f573b (patch)
tree6e6b1715b2fa4711a2e1d7222aad80ba2414da5d /diff-no-index.c
parent4543926ba8f8ec596dd4e45f206f4fbc29350567 (diff)
downloadgit-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.tar.gz
git-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.tar.xz
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 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions