Re: [RFC PATCH] revert: Implement --abort processing

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

 



Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes:

> I see now that this probably doesn't fit everyone's usecase. So the
> changes I propose are:
> 1. Don't rerere clear. We can probably document this fact somewhere,
> and hint the user about this during the time of abort.
> 2. Use reset --merge as Sverre suggested.
>
> I'll think about this workflow and post a patch soon.

Please do the former but I would advice you not to do the latter.

If you do not clear rerere then you are not serving the original audience
you wanted to serve, and if you do, you are hurting people when they do
want to keep rerere. You cannot win either way.

The users are better off being exposed to "reset --merge" than kept
unaware of the concepts necessary to do what they want hidden behind
"revert --abort" that has fuzzy semantics that restores some but not all,
with the definition of "some" being something we happened to decide here,
which can never match what the user in every situation would want.
--
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]