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

Re: [PATCH] rebase -i: inform the user they can re-order commits

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:53:19

Nelson Benitez Leon [off-list ref] writes:
On 03/16/2012 01:17 PM, Junio C Hamano wrote:
quoted
If the user does not even know that one of the primary use of the command
is to reorder, isn't he playing with fire?
In an ideal world everybody should study the manpages and documentation of
a program prior to using it, unfortunately most people often start with an
easy-to-follow tutorial where there are commands to type in, the user
will type them (confident in the tutorial reputation) and try to learn along
the way, in this case giving the user more indications about what he can 
do in any moment is, in my opinion, a good thing (as git already does). 
The case of "rebase" is a bit different, since "rebase" is potentially
dangerous.

But if the user sees the help message of "rebase -i", then I don't think
we will stop him from breaking anything by not mentionning that
reordering commits can work. We already give other commands that rewrite
history with more or less danger, so the additional messages isn't
really harmful.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help