summaryrefslogtreecommitdiffstats
path: root/pager.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-09-13 05:23:12 +0200
committerJunio C Hamano <gitster@pobox.com>2016-09-14 00:45:45 +0200
commit4d0efa101bbbc63d8bd1ec0477f027f23b9f573b (patch)
tree6e6b1715b2fa4711a2e1d7222aad80ba2414da5d /pager.c
parentinit: reset cached config when entering new repo (diff)
downloadgit-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.tar.xz
git-4d0efa101bbbc63d8bd1ec0477f027f23b9f573b.zip
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 'pager.c')
0 files changed, 0 insertions, 0 deletions