Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

stale_refs failing due to unhandled "xxxxxx will become dangling!" message #1262

Closed
@afeblot

Description

With a repo set up in way that git remote prune --dry-run originreturns the following:

URL: .... my repo utl...
 * [would prune] origin/some-branch
 * [would prune] origin/some-more-branches
 * [would prune] origin/main
 refs/remotes/origin/HEAD will become dangling!

stale_refs throws ValueError: Could not parse git-remote prune result: ' refs/remotes/origin/HEAD will become dangling!'
I suppose this warning message should just silently be skipped at https://github.com/gitpython-developers/GitPython/blob/main/git/remote.py#L614

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /