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/t4071-diff-minimal.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 / t4071-diff-minimal.sh` 14 lines ยท 344 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='minimal diff algorithm' 4 5 . ./test-lib.sh 6 7 test_expect_success 'minimal diff should not mark changes between changed lines' ' 8 test_write_lines x x x x >pre && 9 test_write_lines x x x A B C D x E F G >post && 10 test_expect_code 1 git diff --no-index --minimal pre post >diff && 11 test_grep ! ^[+-]x diff 12 ' 13 14 test_done