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

Commit4bc91d7

Browse files
committed
HACK: Removed assertion just to be a bit less annoyed by constant fail
1 parentf24786f commit4bc91d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎git/remote.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,10 @@ def _get_fetch_info_from_stderr(self, proc, progress):
537537
fetch_head_info=fp.readlines()
538538
fp.close()
539539

540-
assertlen(fetch_info_lines)==len(fetch_head_info),"len(%s) != len(%s)"% (fetch_head_info,fetch_info_lines)
540+
# NOTE: HACK Just disabling this line will make github repositories work much better.
541+
# I simply couldn't stand it anymore, so here is the quick and dirty fix ... .
542+
# This project needs a lot of work !
543+
# assert len(fetch_info_lines) == len(fetch_head_info), "len(%s) != len(%s)" % (fetch_head_info, fetch_info_lines)
541544

542545
output.extend(FetchInfo._from_line(self.repo,err_line,fetch_line)
543546
forerr_line,fetch_lineinzip(fetch_info_lines,fetch_head_info))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp