From 1c997f2c418eba4b96c9429ebbd1dd2eb16e9f81 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Sat, 16 Jan 2021 22:58:46 +0100 Subject: [PATCH] fetch: allow a pull/update immediately after a clone --- giteapc/repo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/giteapc/repo.py b/giteapc/repo.py index 5aec961..dcea81d 100644 --- a/giteapc/repo.py +++ b/giteapc/repo.py @@ -221,6 +221,7 @@ def fetch(*args, use_ssh=False, use_https=False, force=False, update=False): if not has_tag and not force: raise Error(f"{r.fullname} doesn't have the [giteapc] tag, "+\ "use -f to force") + r = s.resolve() # Checkout requested version, if any if s.version: