diff --git a/kiauh/utils/git_utils.py b/kiauh/utils/git_utils.py index eb6e9a0..ead448a 100644 --- a/kiauh/utils/git_utils.py +++ b/kiauh/utils/git_utils.py @@ -109,7 +109,7 @@ def get_current_branch(repo: Path) -> str | None: ) return result.strip() if result else None - except CalledProcessError: + except (CalledProcessError, FileNotFoundError): return None