-
-
Notifications
You must be signed in to change notification settings - Fork 950
Closed
Description
Hi,
in gitpython version 3.1.20 I was using the following construct:
# The list is filled with information from an external source like a configuration file, current content is just an example
fetch_options = [ "--depth", "1", "tag", tag_to_fetch ]
remote.fetch(fetch_options)
It worked fine, although I wasn't sure if I used the function properly. After updating to version 3.1.30 the following git error is raised: 'fatal: couldn't find remote ref --depth'. This is because the git cmd command changed to:
git fetch -v -- origin --depth 1 tag MY_TEST_TAG
Which is obviously wrong now. How do I need to change my fetch call in order to fetch a tag with some additional options for the command that may be read from a text file?
Many thanks and best regards,
Markus
Metadata
Metadata
Assignees
Labels
No labels