Add "/coverage/" directory to the default .gitignore template #166909
Labels
c: proposal
A detailed proposal for a change to Flutter
P2
Important issues not at the top of the work list
team-tool
Owned by Flutter Tool team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-tool
Triaged by Flutter Tool team
Use case
Running
flutter test --coverage
generates the filecoverage/lcov.info
. As a generated file, it should not be added to version control, but the default.gitignore
template does not prevent this.Proposal
I propose that
/coverage/
be added to the default.gitignore
template that is generated byflutter create
in order to circumvent this problem.If a team wanted to record these files in version control, they would have to remove that entry. That strikes me as a reasonable cost given that the alternative is to have a high-churn generated file not being ignored by default.
The text was updated successfully, but these errors were encountered: