Skip to content

Commit 85afdf9

Browse files
committed
t9391: don't rely on the system gitconfig defining core.autocrlf=false
The test case t9391.12 specifically wants to test LF vs CR/LF line ending issues, expecting `core.autoCRLF` to default to `false`. This is true on Linux and macOS and pretty much everywhere else, except on Windows. Let's make sure that the test operates with the `core.autoCRLF` value it assumes to operate under. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent fe79ec9 commit 85afdf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t9391-filter-repo-lib-usage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ test_expect_success 'lint-history' '
168168
test_create_repo lint-history &&
169169
(
170170
cd lint-history &&
171+
git config core.autocrlf false &&
171172
echo initial >content &&
172173
git add content &&
173174
git commit -m "initial" &&

0 commit comments

Comments
 (0)