diff --git a/src/gitgulf/repository.py b/src/gitgulf/repository.py index d08b391..81cce2e 100644 --- a/src/gitgulf/repository.py +++ b/src/gitgulf/repository.py @@ -118,11 +118,11 @@ def _get_branch_details(self): self.behind = 0 # Optionally: log the error if a logging system is utilized. - # Extract the number of modifications. + # Extract the number of changes. try: - self.modifications = len(status_output.splitlines()) - 1 + self.changes = len(status_output.splitlines()) - 1 except Exception: - self.modifications = 0 + self.changes = 0 # Optionally: log the error if a logging system is utilized. except Exception: