Skip to content

Commit d8b93b9

Browse files
committed
fix TypeError in get_lfs_endpoint_url
see #2 (comment)
1 parent 1ff766b commit d8b93b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_lfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_lfs_endpoint_url(git_repo, checkout_dir):
4444
if not url.startswith('https://'):
4545
url = urlsplit(url)
4646
if url.scheme:
47-
url = urlunsplit('https', url.hostname, url.path)
47+
url = urlunsplit(('https', url.hostname, url.path, '', ''))
4848
else:
4949
# SSH format: [email protected]:repo.git
5050
host, path = url.path.split('@', 1)[1].split(':', 1)

0 commit comments

Comments
 (0)