05f443dcce1bcf503b4bce023ee1465f8453ea0f blob 600 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| | #!/bin/sh
test_description='ignore CR in CRLF sequence while computing similiarity'
. ./test-lib.sh
test_expect_success setup '
cat "$TEST_DIRECTORY"/t0022-crlf-rename.sh >sample &&
git add sample &&
test_tick &&
git commit -m Initial &&
append_cr <"$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas &&
git add elpmas &&
rm -f sample &&
test_tick &&
git commit -a -m Second
'
test_expect_success 'diff -M' '
git diff-tree -M -r --name-status HEAD^ HEAD >actual &&
sed -e "s/R[0-9]*/RNUM/" actual >output &&
echo "RNUM sample elpmas" >expect &&
test_cmp expect output
'
test_done
|
debug log:
solving 05f443dcce ...
found 05f443dcce in https://public-inbox.org/git/20190310081023.64186-1-ttjtftx@gmail.com/
found 7af3fbcc7b in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100755 7af3fbcc7b9e5e61e41205accaa6d81e85cae6cf t/t0022-crlf-rename.sh
applying [1/1] https://public-inbox.org/git/20190310081023.64186-1-ttjtftx@gmail.com/
diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh
index 7af3fbcc7b..05f443dcce 100755
Checking patch t/t0022-crlf-rename.sh...
Applied patch t/t0022-crlf-rename.sh cleanly.
index at:
100755 05f443dcce1bcf503b4bce023ee1465f8453ea0f t/t0022-crlf-rename.sh
Code repositories for project(s) associated with this inbox:
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).