summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-05-11 18:14:03 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-12 15:23:47 -0700
commit51f8c814d5603a917a91a47019875bbe707675bb (patch)
tree4e949d05f9c9cba78536d165c2de73c1b6c27829 /builtin/fetch.c
parentSync with v1.8.2.3 (diff)
downloadtgif-51f8c814d5603a917a91a47019875bbe707675bb.tar.xz
t5510: start tracking-ref tests from a known state
We have three sequential tests for for whether tracking refs are updated by various fetches and pulls; the first two should not update the ref, and the third should. Each test depends on the state left by the test before. This is fragile (a failing early test will confuse later tests), and means we cannot add more "should update" tests after the third one. Let's instead save the initial state before these tests, and then reset to a known state before running each test. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch.c')
0 files changed, 0 insertions, 0 deletions