Skip to content

fetch command error on parsing parameters - 3.1.30+ #1567

Description

@pomareta

Doing
image
repo.remotes.origin.fetch(['--prune', '--prune-tags'])

works well until 3.1.29 version, but when updating to 3.1.30 or 3.1.31 fetch command stops working because it tries to take the parameter --prune as a remote

cmdline: git fetch -v -- origin --prune --prune-tags
stderr: 'fatal: couldn't find remote ref --prune'

image

Thanks for reviewing this

Activity

  1. changed the title [-]3.1.30 error[/-] [+]fetch command error on parsing parameters - 3.1.30+[/+] on Mar 30, 2023
  2. locked and limited conversation to collaborators on Mar 30, 2023
  3. converted this issue into a discussion #1568 on Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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