Re: [RFC] Reverting individual files to HEAD

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

 



Matthieu Moy <Matthieu.Moy@xxxxxxx> writes:

>>> But since "git reset" already accepts partial resets in some
>>> circumstances, I think it makes sense to slightly extend it to allow
>>> partial reset in the case of "git reset --hard HEAD".
>>
>> But how would you explain "git reset --hard HEAD~24 paths"?
>> Does it move HEAD or not (rhetorical: it shouldn't)?
>
> Read carrefully the very last line of the citation above your
> questions.

Yeah, I read it, and I think your point is that you want to
special case only "--hard" and "HEAD" case.  I did not agree
that it would be a wise thing to do.

-
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]

  Powered by Linux