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

Commitf1e6e8d

Browse files
committed
2 parentscf29514 +d858916 commitf1e6e8d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎git/objects/submodule/root.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
Submodule,
33
UpdateProgress
44
)
5-
from .utilimport (
6-
find_first_remote_branch
7-
)
5+
from .utilimportfind_first_remote_branch
86
fromgit.excimportInvalidGitRepositoryError
97
importgit
108

‎test/test_refs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def test_head_reset(self, rw_repo):
457457

458458
self.assertRaises(OSError,SymbolicReference.create,rw_repo,symref_path,cur_head.reference.commit)
459459
# it works if the new ref points to the same reference
460-
SymbolicReference.create(rw_repo,symref.path,symref.reference).path==symref.path# @NoEffect
460+
assertSymbolicReference.create(rw_repo,symref.path,symref.reference).path==symref.path# @NoEffect
461461
SymbolicReference.delete(rw_repo,symref)
462462
# would raise if the symref wouldn't have been deletedpbl
463463
symref=SymbolicReference.create(rw_repo,symref_path,cur_head.reference)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp