libgit2 / libgit2/libgit2sharp
should ignore BOM in .gitignore
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- C#
- Estrelas
- 3.5k
- Forks
- 925
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
You are opening a bug report against the LibGit2Sharp project: we
use GitHub Issues for tracking bug reports and feature requests. If
you have a question about an API or usage, please ask on StackOverflow:
http://stackoverflow.com/questions/tagged/libgit2sharp.
Otherwise, to report a bug, please fill out the reproduction steps
(below) and delete these introductory paragraphs. Thanks!
Reproduction steps
- Try this with an existing repo. Put a BOM at the header of a .gitignore file, and a directory to ignore such as .vs/ on the same (top, first) line of the .gitignore file.
- confirm command-line native git still ignores the .vs directory.
- Write a quick program that uses libgit2sharp to look at the above repo and get the status.
- Get the status and note the status is marked dirty, and the .vs dir is listed as untracked, not ignored.
Expected behavior
The status reported by libgit2sharp should report status is clean. It should ignore the .vs dir.
Actual behavior
The .vs dir is listed as untracked, not ignored.
The status is dirty.
Version of LibGit2Sharp (release number or SHA1)
0.26.2
Operating system(s) tested; .NET runtime tested
Windows 10
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Reproduza o relatório com LibGit2Sharp 0.26.2 no Windows 10 usando um .gitignore cuja primeira linha começa com uma BOM e nomeia .vs. Compare o status dele com o Git nativo. Está concluído quando o LibGit2Sharp relata um status limpo e marca .vs como ignorado em vez de não rastreado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp, git
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100