From d90579b4978cea9de59404febff1bb4be29bf009 Mon Sep 17 00:00:00 2001 From: Tasha Upchurch Date: Wed, 29 Nov 2023 20:02:21 -0500 Subject: [PATCH] fix for failed detection of branch existing on origin --- server_endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server_endpoints.py b/server_endpoints.py index 311b2aa..5c70233 100644 --- a/server_endpoints.py +++ b/server_endpoints.py @@ -62,6 +62,7 @@ class GitIO: try: origin_branch_exists = not run_git_command(["git", "rev-parse", "--verify", "--quiet", "origin/" + user]) + origin_branch_exists = origin_branch_exists != "" except subprocess.CalledProcessError: origin_branch_exists = False