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

Appearance settings

Commit 623aa6e

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎git/refs/head.py

Copy file name to clipboardExpand all lines: git/refs/head.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.