Fix commit processing
This commit is contained in:
parent
97928d1b86
commit
e81fc9fbf8
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue