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

Commit59d208c

Browse files
committed
Fix message in SymbolicReference.from_path
This rarely-seen ValueError message had said SymbolicRef, and isnow changed to SymbolicReference.
1 parent4536b63 commit59d208c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/refs/symbolic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ def from_path(cls: Type[T_References], repo: "Repo", path: PathLike) -> T_Refere
798798
instance:T_References
799799
instance=ref_type(repo,path)
800800
ifinstance.__class__==SymbolicReferenceandinstance.is_detached:
801-
raiseValueError("SymbolRef was detached, we drop it")
801+
raiseValueError("SymbolicRef was detached, we drop it")
802802
else:
803803
returninstance
804804

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp