libgit2 / libgit2/libgit2sharp
should ignore BOM in .gitignore
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 3.5k
- Fork
- 925
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riprodurre il report con LibGit2Sharp 0.26.2 su Windows 10 usando un .gitignore la cui prima riga inizia con una BOM e nomina .vs. Confrontare il suo stato con Git nativo. Il lavoro è completato quando LibGit2Sharp segnala uno stato pulito e contrassegna .vs come ignorato anziché non tracciato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, git
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100