summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Pete Wyckoff <pw@padd.com>2013-01-26 22:11:15 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-26 22:00:39 -0800
commite93f8695939bae73fbf5122a9a8f53637dce8e39 (patch)
tree94bea52ef8fc85897019d5d79e1864f7a99056ea /t
parentgit p4 test: newline handling (diff)
downloadtgif-e93f8695939bae73fbf5122a9a8f53637dce8e39.tar.xz
git p4 test: use LineEnd unix in windows tests too
In all clients, even those created on windows, use unix line endings. This makes it possible to verify file contents without doing OS-specific comparisons in all the tests. Tests in t9802-git-p4-filetype.sh are used to make sure that the other LineEnd options continue to work. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/lib-git-p4.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh
index d5596ded6c..67101b104c 100644
--- a/t/lib-git-p4.sh
+++ b/t/lib-git-p4.sh
@@ -142,6 +142,7 @@ client_view() {
Description: $P4CLIENT
Root: $cli
AltRoots: $(native_path "$cli")
+ LineEnd: unix
View:
EOF
printf "\t%s\n" "$@"