Skip to content

Commit

Permalink
git p4 test: use LineEnd unix in windows tests too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pete Wyckoff authored and Junio C Hamano committed Jan 27, 2013
1 parent dfbf393 commit e93f869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/lib-git-p4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ client_view() {
Description: $P4CLIENT
Root: $cli
AltRoots: $(native_path "$cli")
LineEnd: unix
View:
EOF
printf "\t%s\n" "$@"
Expand Down

0 comments on commit e93f869

Please sign in to comment.