Skip to content

Add support for exclusions / negative refspec in "Fetch from" dialog #184

@wahlbrink

Description

@wahlbrink

Description

By using negative refspec in the git config (remote.<remote>.fetch = ^refs/..., see also screenshot below) it is possible to exclude specific branches when fetching from a remote.
Support for negative refspec is implemented in JGit, and "Simple Fetch" in EGit works as expected. But the "Fetch from" dialog does yet not support it and does not allow to fetch from such remotes:

Image

Motivation

Feature completion

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions