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

Appearance settings

Commit 85ebfb2

Browse filesBrowse files
committed
Combined commits to add types to base.py and fun.py
1 parent 26ccee1 commit 85ebfb2
Copy full SHA for 85ebfb2

7 files changed

+203-127Lines changed: 203 additions & 127 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎VERSION‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.13
1+
3.1.14
Collapse file

‎git/refs/symbolic.py‎

Copy file name to clipboardExpand all lines: git/refs/symbolic.py
+2-2Lines 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-
with open(cls._get_packed_refs_path(repo), 'rt') as fp:
90+
with open(cls._get_packed_refs_path(repo), 'rt', encoding='UTF-8') as fp:
9191
for line in fp:
9292
line = line.strip()
9393
if not line:
@@ -513,7 +513,7 @@ def _create(cls, repo, path, resolve, reference, force, logmsg=None):
513513
return ref
514514

515515
@classmethod
516-
def create(cls, repo, path, reference='HEAD', force=False, logmsg=None):
516+
def create(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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.