2 parents 6aa7fc5 + 9af77b5 commit 12d91c6Copy full SHA for 12d91c6
AUTHORS
@@ -47,4 +47,5 @@ Contributors are:
47
-Hugo van Kemenade
48
-Hiroki Tokunaga <tokusan441 _at_ gmail.com>
49
-Julien Mauroy <pro.julien.mauroy _at_ gmail.com>
50
+-Patrick Gerard
51
Portions derived from other open source works and are clearly marked.
git/repo/base.py
@@ -858,6 +858,8 @@ def ignored(self, *paths: PathLike) -> List[str]:
858
@property
859
def active_branch(self) -> Head:
860
"""The name of the currently active branch.
861
+
862
+ :raises TypeError: If HEAD is detached
863
:return: Head to the active branch"""
864
# reveal_type(self.head.reference) # => Reference
865
return self.head.reference
0 commit comments