(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]}) (FunctionDef check_describe [] (List (= scope= flags=0 words=[] bindings=[('expect', {[DQ [VarSub 1]]})]) (Com {[LIT_CHARS shift]}) (= scope= flags=0 words=[] bindings=[('R', {[ComSub (Com redirects=[(FilenameRedirectNode filename={[LIT_CHARS err.actual]} "> 2)]{[LIT_CHARS git]} {[LIT_CHARS describe]} {[DQ [VarSub @]]})]})]) (= scope= flags=0 words=[] bindings=[('S', {[VarSub ?]})]) (Com {[LIT_CHARS cat]} {[LIT_CHARS err.actual]} < (DescriptorRedirectNode target={[LIT_CHARS 3]} &"> 1), > ) (Com {[LIT_CHARS test_expect_success]} {[DQ [LIT_CHARS "describe "][VarSub *]]} {[SQ ]}) ) ) (Com {[LIT_CHARS test_expect_success]} {[LIT_CHARS setup]} {[SQ file && git add file && git commit -m initial &&\n"> file && git add file && git commit -m second &&\n"> file && git add file && git commit -m third &&\n"> file && git add file && git commit -m A &&\n"> file && git add file && git commit -m c &&\n"> side && git add side && git commit -m B &&\n"> another && git add another && git commit -m D &&\n"> another && git commit -a -m another &&\n"> another && git commit -a -m \"yet another\" &&\n"> file && echo X >side && git add file side &&\n"> ]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS R-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS B]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS R-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS c-] [LIT_OTHER "*"]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS c-] [LIT_OTHER "*"]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS e-] [LIT_OTHER "*"]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS c-] [LIT_OTHER "*"]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS B]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS e]} {[LIT_CHARS --tags]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS heads/master]} {[LIT_CHARS --all]} {[LIT_CHARS HEAD]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS tags/c-] [LIT_OTHER "*"]} {[LIT_CHARS --all]} {[LIT_CHARS HEAD] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS tags/e]} {[LIT_CHARS --all]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS B-0-] [LIT_OTHER "*"]} {[LIT_CHARS --long]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2] [LIT_OTHER "^"]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-3-] [LIT_OTHER "*"]} {[LIT_CHARS --long]} {[LIT_CHARS HEAD] [LIT_OTHER "^"] [LIT_OTHER "^"] [LIT_CHARS 2]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS c-7-] [LIT_OTHER "*"]} {[LIT_CHARS --tags]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS e-3-] [LIT_OTHER "*"]} {[LIT_CHARS --first-parent]} {[LIT_CHARS --tags]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ expect &&\n"> actual &&\n"> ]}) (Com {[LIT_OTHER ":"]} < (FilenameRedirectNode filename={[LIT_CHARS err.expect]} "> 1), > ) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A]} {[LIT_CHARS --all]} {[LIT_CHARS A] [LIT_OTHER "^"] [LIT_CHARS 0]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS cat]} {[LIT_CHARS -]} < (FilenameRedirectNode filename={[LIT_CHARS err.expect]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "warning: tag 'A' is really 'Q' here\n"]]} 0), > ) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS check_describe]} {[LIT_CHARS A-] [LIT_OTHER "*"]} {[LIT_CHARS HEAD]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "A-*[0-9a-f]"]]} {[LIT_CHARS --dirty]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ >file\n">]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "A-*[0-9a-f]-dirty"]]} {[LIT_CHARS --dirty]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "A-*[0-9a-f].mod"]]} {[LIT_CHARS --dirty] [LIT_OTHER "="] [LIT_CHARS .mod]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ >file &&\n"> >file &&\n"> >file &&\n"> ]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "test-annotated-*"]]} {[LIT_CHARS --match] [LIT_OTHER "="] [DQ [LIT_CHARS "test-*"]]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "test1-lightweight-*"]]} {[LIT_CHARS --tags]} {[LIT_CHARS --match] [LIT_OTHER "="] [DQ [LIT_CHARS "test1-*"]]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "test2-lightweight-*"]]} {[LIT_CHARS --tags]} {[LIT_CHARS --match] [LIT_OTHER "="] [DQ [LIT_CHARS "test2-*"]]}) (Com {[LIT_CHARS check_describe]} {[DQ [LIT_CHARS "test2-lightweight-*"]]} {[LIT_CHARS --long]} {[LIT_CHARS --tags]} {[LIT_CHARS --match] [LIT_OTHER "="] [DQ [LIT_CHARS "test2-*"]]} {[LIT_CHARS HEAD] [LIT_OTHER "^"]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ expect &&\n"> actual &&\n"> expect &&\n"> actual &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ expect &&\n"> actual &&\n"> expect &&\n"> actual &&\n"> ]}) (Com {[LIT_CHARS test_done]}) )