Re: --mixed option is deprecated with paths
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 14, 2010, 19:42 UTC
- Message-ID
- <7v7hjthtfy.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTik_NuG3YKMknwh4fAK09kTH0tK1f08MzsexUMcV@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 6 quoted lines
> $ git reset --mixed t/Makefile > warning: --mixed option is deprecated with paths. > Unstaged changes after reset: > M t/Makefile > > So what should I use instead? 0e5a7faa which introduced it doesn't say.
You should say nothing. "git reset [<commit>] <path>" is about resetting the index entry selectively, and there is no room for any mode to be involved (iow "git reset --soft t/Makefile" does not make any sense), hence deprecation.