Skip to content

Commit 623aa6e

Browse files
authored
Merge pull request #1894 from EliahKagan/mixed
Update the comment about `--mixed` and paths
2 parents f8cad58 + 0152b52 commit 623aa6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/refs/head.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def reset(
9999
if index:
100100
mode = "--mixed"
101101

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

0 commit comments

Comments
 (0)