From 947629b102b3129dcdf9d3d7d3b848ab6fefb40e Mon Sep 17 00:00:00 2001 From: Tycho Pandelaar Date: Mon, 15 Jan 2024 15:01:28 +0100 Subject: [PATCH] rename --- src/gitgulf/repository.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: