chore: untrack .coverage (ja no .gitignore)#41
Open
bdcdo wants to merge 1 commit into
Open
Conversation
Arquivo foi acidentalmente versionado em 2da1a7f, antes do `.gitignore` ser configurado para ignora-lo. Como o git ja estava rastreando, toda execucao de pytest sujava o `git status` com `M .coverage`. Removendo do indice (sem apagar do disco local) destrava o `.gitignore` a fazer seu trabalho. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove o
.coveragedo índice do git. O arquivo já está listado no.gitignore, mas foi versionado por engano em2da1a7fantes desse.gitignoreexistir. Como o git continua rastreando arquivos uma vez adicionados ao índice (independente do.gitignore), toda execução depytestreescrevia o arquivo e sujava ogit statuscomM .coverage.git rm --cached .coveragetira do índice sem apagar do disco local — quem já tinha o arquivo continua tendo. A partir do merge, o.gitignorepassa a fazer o trabalho dele.Test plan
git statusantes do commit:D .coverage(apenas o índice).ls -la .coverage→ 53 KB).git check-ignore -v .coverageconfirma que o.gitignorecobre o arquivo após o untrack.Sem impacto em código, testes ou CI — só limpa o ruído do
git statuspara todo mundo do projeto.🤖 Generated with Claude Code