Skip to content

Commit

Permalink
Merge pull request #1727 from EliahKagan/yield-comment
Browse files Browse the repository at this point in the history
Remove obsolete note in _iter_packed_refs
  • Loading branch information
Byron authored Nov 3, 2023
2 parents 1755b1d + 2c7fce0 commit 340da6d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions git/refs/symbolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ def _iter_packed_refs(cls, repo: "Repo") -> Iterator[Tuple[str, str]]:
except OSError:
return None
# END no packed-refs file handling
# NOTE: Had try-finally block around here to close the fp,
# but some python version wouldn't allow yields within that.
# I believe files are closing themselves on destruction, so it is
# alright.

@classmethod
def dereference_recursive(cls, repo: "Repo", ref_path: Union[PathLike, None]) -> str:
Expand Down

0 comments on commit 340da6d

Please sign in to comment.