Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t0062-revision-walking.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t0062-revision-walking.sh` 33 lines ยท 508 bytes Raw Blame History 1 #!/bin/sh 2 # 3 # Copyright (c) 2012 Heiko Voigt 4 # 5 6 test_description='Test revision walking api' 7 8 . ./test-lib.sh 9 10 cat >run_twice_expected <<-EOF 11 1st 12 > add b 13 > add a 14 2nd 15 > add b 16 > add a 17 EOF 18 19 test_expect_success 'setup' ' 20 echo a > a && 21 git add a && 22 git commit -m "add a" && 23 echo b > b && 24 git add b && 25 git commit -m "add b" 26 ' 27 28 test_expect_success 'revision walking can be done twice' ' 29 test-tool revision-walking run-twice >run_twice_actual && 30 test_cmp run_twice_expected run_twice_actual 31 ' 32 33 test_done