libgit2 / libgit2/libgit2sharp

Error messages are not user friendly

Open
#1,935 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

Error messages are not user friendly. Example shown below

Reproduction steps

1- On Entering wrong access token it shows, "too many redirects or authentication replays"
2- Checking out to another branch when file similar name is not committed. We see the error, "1 conflict prevents checkout", this is not clear because in this case we don't see any conflicts occurring.

Expected behavior
Actual behavior
Version of LibGit2Sharp (release number or SHA1)

0.27.0-preview-0158

Operating system(s) tested; .NET runtime tested

OS: Windows 10
.NET runtime: .NET 6.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing both reported cases on libgit2sharp 0.27.0-preview-0158 with Windows 10 and .NET 6.0: the wrong access token and checkout with an uncommitted similarly named file. Trace where each error message is produced, then define clearer wording for both cases and verify the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.