Thread (1 message) 1 message, 1 author, 2016-06-15

Re: --mixed option is deprecated with paths

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:19

Ævar Arnfjörð Bjarmason [off-list ref] writes:
    $ 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help