fetch: allow a pull/update immediately after a clone

This commit is contained in:
Lephenixnoir 2021-01-16 22:58:46 +01:00
parent 0ecfed4351
commit 1c997f2c41
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -221,6 +221,7 @@ def fetch(*args, use_ssh=False, use_https=False, force=False, update=False):
if not has_tag and not force: if not has_tag and not force:
raise Error(f"{r.fullname} doesn't have the [giteapc] tag, "+\ raise Error(f"{r.fullname} doesn't have the [giteapc] tag, "+\
"use -f to force") "use -f to force")
r = s.resolve()
# Checkout requested version, if any # Checkout requested version, if any
if s.version: if s.version: