git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rebase -i: inform the user they can re-order commits
@ 2012-03-16 11:13 Nelson Benitez Leon
  2012-03-16 10:21 ` Matthieu Moy
  0 siblings, 1 reply; 15+ messages in thread
From: Nelson Benitez Leon @ 2012-03-16 11:13 UTC (permalink / raw)
  To: git

Same as they are informed of what the different commands
do and that they can remove commits.
---
Hi, I was using git rebase -i for some time now and never
occured to me I could reorder the commit lines to affect
the order the commits are applied, learnt that recently 
from a git tutorial, I must admit I have now checked the 
man page and it's well explained, but remarking that on
the user-input screen is an useful addition imo.

 git-rebase--interactive.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 5812222..acf1f5c 100644
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -846,6 +846,8 @@ cat >> "$todo" << EOF
 #  f, fixup = like "squash", but discard this commit's log message
 #  x, exec = run command (the rest of the line) using shell
 #
+# You can re-order the commit lines to affect the order on which
+# the commits will be applied.
 # If you remove a line here THAT COMMIT WILL BE LOST.
 # However, if you remove everything, the rebase will be aborted.
 #
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-21 10:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 11:13 [PATCH] rebase -i: inform the user they can re-order commits Nelson Benitez Leon
2012-03-16 10:21 ` Matthieu Moy
2012-03-16 11:34   ` Nelson Benitez Leon
2012-03-16 11:53     ` Matthieu Moy
2012-03-16 13:36       ` Jakub Narebski
2012-03-16 12:17   ` Junio C Hamano
2012-03-16 15:07     ` Nelson Benitez Leon
2012-03-16 14:12       ` Matthieu Moy
2012-03-16 14:26         ` Junio C Hamano
2012-03-16 14:36           ` Matthieu Moy
2012-03-16 14:46             ` Junio C Hamano
2012-03-16 14:39           ` Junio C Hamano
2012-03-20 23:07             ` Junio C Hamano
2012-03-21  8:25               ` Matthieu Moy
2012-03-21 10:45                 ` Philip Oakley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).