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

Commit12d91c6

Browse files
authored
Merge pull requestgitpython-developers#1481 from grumpyp/main
Improve docs
2 parents6aa7fc5 +9af77b5 commit12d91c6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ Contributors are:
4747
-Hugo van Kemenade
4848
-Hiroki Tokunaga <tokusan441 _at_ gmail.com>
4949
-Julien Mauroy <pro.julien.mauroy _at_ gmail.com>
50+
-Patrick Gerard
5051
Portions derived from other open source works and are clearly marked.

‎git/repo/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,8 @@ def ignored(self, *paths: PathLike) -> List[str]:
858858
@property
859859
defactive_branch(self)->Head:
860860
"""The name of the currently active branch.
861+
862+
:raisesTypeError: If HEAD is detached
861863
:return: Head to the active branch"""
862864
# reveal_type(self.head.reference) # => Reference
863865
returnself.head.reference

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp