Skip to content

josh-filter --file requires an extra placeholder argument for the filter #1496

@kitlith

Description

@kitlith

Just some confusing user experience, it's confusing to need to do

josh-filter --file workflow/dotnet-filter not-a-filter refs/remotes/dotnet/main --update refs/heads/dotnet-subset-tmp

instead of

josh-filter --file workflow/dotnet-filter refs/remotes/dotnet/main --update refs/heads/dotnet-subset-tmp

This seems to stem from the filter being defined as a positional argument that is effectively ignored when a file is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions