Skip to content

Revamp repo errors handling#3730

Open
un-def wants to merge 2 commits intomasterfrom
issue_3722_fix_cli_repo_branch_detection
Open

Revamp repo errors handling#3730
un-def wants to merge 2 commits intomasterfrom
issue_3722_fix_cli_repo_branch_detection

Conversation

@un-def
Copy link
Copy Markdown
Collaborator

@un-def un-def commented Apr 1, 2026

  • Move all repo-related exception classes to core.errors
  • Wrap exceptions from git library
  • Handle 'detached HEAD` error
  • Fix some typing issues

Fixes: #3722

* Move all repo-related exception classes to `core.errors`
* Wrap exceptions from `git` library
* Handle 'detached HEAD` error
* Fix _some_ typing issues

Fixes: #3722
@un-def un-def requested a review from jvstme April 1, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: CLI: TypeError: HEAD is a detached symbolic reference when repo is checked out with a tag

2 participants