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/t3409-rebase-environ.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 / t3409-rebase-environ.sh` 23 lines ยท 509 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='git rebase interactive environment' 4 5 . ./test-lib.sh 6 7 test_expect_success 'setup' ' 8 test_commit one && 9 test_commit two && 10 test_commit three 11 ' 12 13 test_expect_success 'rebase --exec does not muck with GIT_DIR' ' 14 git rebase --exec "printf %s \$GIT_DIR >environ" HEAD~1 && 15 test_must_be_empty environ 16 ' 17 18 test_expect_success 'rebase --exec does not muck with GIT_WORK_TREE' ' 19 git rebase --exec "printf %s \$GIT_WORK_TREE >environ" HEAD~1 && 20 test_must_be_empty environ 21 ' 22 23 test_done