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

Commitb0e5bff

Browse files
committed
Undo some expansion of "reference" parameter
This keeps most of the changes from the previous commit, but itundoes the expansion of the git object types a lightweight tag canrefer to into GitPython git.objects.base.Object-based types, whichseems more misleading than helpful because an uncareful readingcould lead to an incorrect belief that the corresponding argumentshould or could be an object of such types.
1 parent110706e commitb0e5bff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/refs/tag.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ def create(
106106
107107
:param reference:
108108
A reference to the :class:`~git.objects.base.Object` you want to tag.
109-
The referenced object can be a :class:`~git.objects.commit.Commit`,
110-
:class:`~git.objects.tree.Tree`, or :class:`~git.objects.blob.Blob`.
109+
The referenced object can be a commit, tree, or blob.
111110
112111
:param logmsg:
113112
If not None, the message will be used in your tag object. This will also

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp