OSDN Git Service

git p4 test: use LineEnd unix in windows tests too
authorPete Wyckoff <pw@padd.com>
Sun, 27 Jan 2013 03:11:15 +0000 (22:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jan 2013 06:00:39 +0000 (22:00 -0800)
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>
t/lib-git-p4.sh

index d5596de..67101b1 100644 (file)
@@ -142,6 +142,7 @@ client_view() {
                Description: $P4CLIENT
                Root: $cli
                AltRoots: $(native_path "$cli")
+               LineEnd: unix
                View:
                EOF
                printf "\t%s\n" "$@"