summaryrefslogtreecommitdiff
path: root/t/lib-git-p4.sh
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2013-01-27 03:11:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-01-27 06:00:39 (GMT)
commite93f8695939bae73fbf5122a9a8f53637dce8e39 (patch)
tree94bea52ef8fc85897019d5d79e1864f7a99056ea /t/lib-git-p4.sh
parentdfbf3937008c72cec25dc68da3362cb972a26078 (diff)
downloadgit-e93f8695939bae73fbf5122a9a8f53637dce8e39.zip
git-e93f8695939bae73fbf5122a9a8f53637dce8e39.tar.gz
git-e93f8695939bae73fbf5122a9a8f53637dce8e39.tar.bz2
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/lib-git-p4.sh')
-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 d5596de..67101b1 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" "$@"