We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1755b1d + 2c7fce0 commit 340da6dCopy full SHA for 340da6d
1 file changed
git/refs/symbolic.py
@@ -149,10 +149,6 @@ def _iter_packed_refs(cls, repo: "Repo") -> Iterator[Tuple[str, str]]:
149
except OSError:
150
return None
151
# 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.
156
157
@classmethod
158
def dereference_recursive(cls, repo: "Repo", ref_path: Union[PathLike, None]) -> str:
0 commit comments