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/t3450-history.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 / t3450-history.sh` 17 lines ยท 379 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='tests for git-history command' 4 5 . ./test-lib.sh 6 7 test_expect_success 'does nothing without any arguments' ' 8 test_must_fail git history 2>err && 9 test_grep "need a subcommand" err 10 ' 11 12 test_expect_success 'raises an error with unknown argument' ' 13 test_must_fail git history garbage 2>err && 14 test_grep "unknown subcommand: .garbage." err 15 ' 16 17 test_done