Fix commit processing

This commit is contained in:
Zeva Rose 2022-05-01 16:08:20 -06:00
parent 97928d1b86
commit e81fc9fbf8

View file

@ -60,7 +60,7 @@ def get_all_commands(module: ModuleType = jarvis.cogs) -> Dict[str, Callable]:
def get_git_changes(repo: git.Repo) -> dict: def get_git_changes(repo: git.Repo) -> dict:
"""Get all Git changes""" """Get all Git changes"""
logger.debug("Getting all git changes") logger.debug("Getting all git changes")
head = repo.head head = repo.head.ref
current_hash = head.object.hexsha current_hash = head.object.hexsha
tracking = head.tracking_branch() tracking = head.tracking_branch()