Skip to content

Commit

Permalink
Merge pull request #1894 from EliahKagan/mixed
Browse files Browse the repository at this point in the history
Update the comment about `--mixed` and paths
  • Loading branch information
Byron authored Apr 2, 2024
2 parents f8cad58 + 0152b52 commit 623aa6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git/refs/head.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def reset(
if index:
mode = "--mixed"

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

0 comments on commit 623aa6e

Please sign in to comment.