libgit2 / libgit2/libgit2sharp
should ignore BOM in .gitignore
Personne n'a encore pris cette issue.
- Langage dominant
- C#
- Étoiles
- 3.5k
- Forks
- 925
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez le rapport avec LibGit2Sharp 0.26.2 sous Windows 10 en utilisant un .gitignore dont la première ligne commence par une BOM et nomme .vs. Comparez son état avec Git natif. C’est terminé lorsque LibGit2Sharp indique un état propre et marque .vs comme ignoré plutôt que comme non suivi.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp, git
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100