Re: --mixed option is deprecated with paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]