Skip to content

Commit 340da6d

Browse files
authored
Merge pull request #1727 from EliahKagan/yield-comment
Remove obsolete note in _iter_packed_refs
2 parents 1755b1d + 2c7fce0 commit 340da6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: git/refs/symbolic.py

-4
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ def _iter_packed_refs(cls, repo: "Repo") -> Iterator[Tuple[str, str]]:
149149
except OSError:
150150
return None
151151
# END no packed-refs file handling
152-
# NOTE: Had try-finally block around here to close the fp,
153-
# but some python version wouldn't allow yields within that.
154-
# I believe files are closing themselves on destruction, so it is
155-
# alright.
156152

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

0 commit comments

Comments
 (0)