Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
tychop committed Jan 15, 2024
1 parent 424a9af commit 947629b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gitgulf/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 947629b

Please sign in to comment.