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