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

Commit85ebfb2

Browse files
committed
Combined commits to add types to base.py and fun.py
1 parent26ccee1 commit85ebfb2

File tree

7 files changed

+203
-127
lines changed

7 files changed

+203
-127
lines changed

‎VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.13
1+
3.1.14

‎git/refs/symbolic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _iter_packed_refs(cls, repo):
8787
"""Returns an iterator yielding pairs of sha1/path pairs (as bytes) for the corresponding refs.
8888
:note: The packed refs file will be kept open as long as we iterate"""
8989
try:
90-
withopen(cls._get_packed_refs_path(repo),'rt')asfp:
90+
withopen(cls._get_packed_refs_path(repo),'rt',encoding='UTF-8')asfp:
9191
forlineinfp:
9292
line=line.strip()
9393
ifnotline:
@@ -513,7 +513,7 @@ def _create(cls, repo, path, resolve, reference, force, logmsg=None):
513513
returnref
514514

515515
@classmethod
516-
defcreate(cls,repo,path,reference='HEAD',force=False,logmsg=None):
516+
defcreate(cls,repo,path,reference='HEAD',force=False,logmsg=None,**kwargs):
517517
"""Create a new symbolic reference, hence a reference pointing to another reference.
518518
519519
:param repo:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp