Skip to content

Commit

Permalink
Clarify variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Aug 15, 2024
1 parent e8991e8 commit 0d188e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/git_mixins/branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ def run_commit_graph_write():
return branches

slow_repo = self.current_state().get("slow_repo", None)
supports_ahead_behind = (
compute_ahead_behind = (
self.git_version >= FOR_EACH_REF_SUPPORTS_AHEAD_BEHIND
and slow_repo is not True
and not slow_repo
)
probe_speed = slow_repo is None and supports_ahead_behind
return get_branches__(probe_speed, supports_ahead_behind)
probe_speed = compute_ahead_behind and slow_repo is None
return get_branches__(probe_speed, compute_ahead_behind)

def _cache_branches(self, branches, refs):
# type: (List[Branch], Sequence[str]) -> None
Expand Down

0 comments on commit 0d188e9

Please sign in to comment.