mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 04:23:40 +01:00
fetch: allow a pull/update immediately after a clone
This commit is contained in:
parent
0ecfed4351
commit
1c997f2c41
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue