Skip to content

Commit 85ebfb2

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

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-
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy