From fc86622c1f2d0c8f50179133ab43c15878272253 Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Fri, 19 Aug 2022 23:15:30 -0400 Subject: [PATCH] add a debug message --- ext/system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/system.py b/ext/system.py index 548819e..1b01065 100644 --- a/ext/system.py +++ b/ext/system.py @@ -38,6 +38,7 @@ async def get_git_index_diff_branch(branch: str) -> str: async def get_git_commits_ahead_behind(branch: str, remote: str) -> tuple[int, int]: # commits ahead/behind remote output = await create_subprocess("git", "rev-list", "--left-right", "--count", branch+"..."+remote) + print("git_commmits_ahead:", output) commits_ahead = int(output.split()[0]) commits_behind = int(output.split()[1]) return commits_ahead, commits_behind