diff options
Diffstat (limited to 'contrib/diff-highlight')
-rwxr-xr-x | contrib/diff-highlight/t/t9400-diff-highlight.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/contrib/diff-highlight/t/t9400-diff-highlight.sh b/contrib/diff-highlight/t/t9400-diff-highlight.sh index deab90ed91..3f02d31467 100755 --- a/contrib/diff-highlight/t/t9400-diff-highlight.sh +++ b/contrib/diff-highlight/t/t9400-diff-highlight.sh @@ -68,26 +68,22 @@ test_strip_patch_header () { # D # dh_test_setup_history () { - echo "file1" >file1 && - echo "file2" >file2 && - echo "file3" >file3 && - - cat file1 >file && + echo file1 >file && git add file && test_tick && git commit -m "D" && git checkout -b branch && - cat file2 >file && + echo file2 >file && test_tick && git commit -a -m "E" && - cat file3 >file && + echo file3 >file && test_tick && git commit -a -m "F" && git checkout master && - cat file2 >file && + echo file2 >file && test_tick && git commit -a -m "A" } |