b4772b72f7f0d9ceab93dfa46b0c67fd65b0332f blob 604 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 >actual1 &&
sed -e "s/R[0-9]*/RNUM/" actual1 >actual2 &&
echo "RNUM sample elpmas" >expect &&
test_cmp expect actual2
'
test_done
|
debug log:
solving b4772b72f7 ...
found b4772b72f7 in https://public-inbox.org/git/20190309154555.33407-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/20190309154555.33407-1-ttjtftx@gmail.com/
diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh
index 7af3fbcc7b..b4772b72f7 100755
Checking patch t/t0022-crlf-rename.sh...
Applied patch t/t0022-crlf-rename.sh cleanly.
index at:
100755 b4772b72f7f0d9ceab93dfa46b0c67fd65b0332f t/t0022-crlf-rename.sh
git@vger.kernel.org list mirror (unofficial, one of many)
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://public-inbox.org/git
git clone --mirror http://ou63pmih66umazou.onion/git
git clone --mirror http://czquwvybam4bgbro.onion/git
git clone --mirror http://hjrcffqmbrq6wope.onion/git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 git git/ https://public-inbox.org/git \
git@vger.kernel.org
public-inbox-index git
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.version-control.git
nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
nntp://news.gmane.io/gmane.comp.version-control.git
note: .onion URLs require Tor: https://www.torproject.org/
code repositories for the project(s) associated with this inbox:
https://80x24.org/mirrors/git.git
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git