Skip to content

Commit e93f869

Browse files
Pete Wyckoffgitster
authored andcommitted
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>
1 parent dfbf393 commit e93f869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/lib-git-p4.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ client_view() {
142142
Description: $P4CLIENT
143143
Root: $cli
144144
AltRoots: $(native_path "$cli")
145+
LineEnd: unix
145146
View:
146147
EOF
147148
printf "\t%s\n" "$@"

0 commit comments

Comments
 (0)