(List (= scope=<EAssignScope.GLOBAL 1> flags=0 words=[] bindings=[('test_description', {[SQ <LIT_CHARS "fetch exit status test">]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS setup]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\n"> <LIT_CHARS "\t>file &&\n"> <LIT_CHARS "\tgit add file &&\n"> <LIT_CHARS "\tgit commit -m initial &&\n"> <LIT_CHARS "\n"> <LIT_CHARS "\tgit checkout -b side &&\n"> <LIT_CHARS "\techo side >file &&\n"> <LIT_CHARS "\tgit commit -a -m side &&\n"> <LIT_CHARS "\n"> <LIT_CHARS "\tgit checkout master &&\n"> <LIT_CHARS "\techo next >file &&\n"> <LIT_CHARS "\tgit commit -a -m next\n">]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "non-fast-forward fetch">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\n"> <LIT_CHARS "\ttest_must_fail git fetch . master:side\n"> <LIT_CHARS "\n">]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ <LIT_CHARS "forced update">]} {[SQ <LIT_CHARS "\n"> <LIT_CHARS "\n"> <LIT_CHARS "\tgit fetch . +master:side\n"> <LIT_CHARS "\n">]} ) (Com {[LIT_CHARS test_done]} ) )