Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit340da6d

Browse files
authored
Merge pull request#1727 from EliahKagan/yield-comment
Remove obsolete note in _iter_packed_refs
2 parents1755b1d +2c7fce0 commit340da6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎git/refs/symbolic.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ def _iter_packed_refs(cls, repo: "Repo") -> Iterator[Tuple[str, str]]:
149149
exceptOSError:
150150
returnNone
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
defdereference_recursive(cls,repo:"Repo",ref_path:Union[PathLike,None])->str:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp