Skip to content

Bug/FR: jj git fetch --branch main should fetch tags #2295

@ilyagr

Description

@ilyagr

Currently, jj git fetch --branch main does not fetch any tags from the remote. (jj git fetch without --branch fetches all the tags.)

jj git fetch --branch could match git fetch's default behavior of fetching all the tags that point to ancestors of commits being fetched.

It's unclear to me how difficult this is. For example, would we have to filter tags ourselves or does libgit2 implement this functionality?

Metadata

Metadata

Assignees

No one assigned

    Labels

    polish🪒🐃Make existing features more convenient and more consistent🐛bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions