Skip to content

Commit 3153820

Browse files
committed
fixup! t5000: Fix CRLF vs LF issue
MSys2's `tr` does not introduce any CRLFs... This reverts commit 01a6f1b. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 34fc6de commit 3153820

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

t/t5000-tar-tree.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,9 @@ test_expect_success 'archive --list shows only enabled remote filters' '
240240
test_expect_success 'invoke tar filter by format' '
241241
git archive --format=tar.foo HEAD >config.tar.foo &&
242242
tr ab ba <config.tar.foo >config.tar &&
243-
d2u_force config.tar &&
244243
test_cmp_bin b.tar config.tar &&
245244
git archive --format=bar HEAD >config.bar &&
246245
tr ab ba <config.bar >config.tar &&
247-
d2u_force config.tar &&
248246
test_cmp_bin b.tar config.tar
249247
'
250248

@@ -269,7 +267,6 @@ test_expect_success 'only enabled filters are available remotely' '
269267
test_must_fail git archive --remote=. --format=tar.foo HEAD \
270268
>remote.tar.foo &&
271269
git archive --remote=. --format=bar >remote.bar HEAD &&
272-
d2u_force config.bar &&
273270
test_cmp_bin remote.bar config.bar
274271
'
275272

t/test-lib-functions.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -866,11 +866,3 @@ mingw_read_file_strip_cr_ () {
866866
eval "$1=\$$1\$line"
867867
done
868868
}
869-
870-
# Perform dos2unix line ending conversion for binary files
871-
d2u_force() {
872-
if test_have_prereq MINGW
873-
then
874-
dos2unix --force "$1"
875-
fi
876-
}

0 commit comments

Comments
 (0)