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

Commit0152b52

Browse files
committed
Update the comment about--mixed and paths
This updates the comment in HEAD.reset about why `--mixed` isomitted from the git command constructed to perform a reset wherepaths are being passed, adding specific information about the gitversions where this is deprecated, and changing the more-info linkfrom an old GitPython issue that is no longer retrievable to#1876.
1 parent5364053 commit0152b52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/refs/head.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def reset(
9999
ifindex:
100100
mode="--mixed"
101101

102-
#It appears some git versions declare mixed and paths deprecated.
103-
# Seehttp://github.com/Byron/GitPython/issues#issue/2.
102+
#Explicit "--mixed" when passing paths is deprecated since git 1.5.4.
103+
# Seehttps://github.com/gitpython-developers/GitPython/discussions/1876.
104104
ifpaths:
105105
mode=None
106106
# END special case

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp