libgit2 / libgit2/libgit2sharp
Infinite Loop when you enters a invalid path (Repository Init)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 3.5k
- Forks
- 925
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Tried some stuff and explored this bug.
When you are trying to create a new repository with Repository.Init(string path) and the path is invalid, you will get a infinite loop.
Tried with this path "Z:\Users\justi\Pictures" and Z: doesnt exist on my computer.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start by reproducing Repository.Init(string path) with the invalid Z:\Users\justi\Pictures path described in the issue, then trace the initialization loop and path validation. Done means invalid paths terminate with an appropriate failure instead of looping indefinitely, while valid repository initialization continues to work.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, git
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100