git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Clarify: rebase abort leaves <branch> checked-out
@ 2011-03-13 16:54 Drew Northup
  2011-03-13 17:40 ` Johannes Schindelin
  2011-03-13 19:41 ` Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Drew Northup @ 2011-03-13 16:54 UTC (permalink / raw)
  To: git
  Cc: Junio C Hamano, Martin von Zweigbergk, Thomas Rast,
	Johannes E. Schindelin, Jonathan Nieder

This change makes it clearer that while the change
to the history effected by executing
'git rebase master' and 'git rebase master topic'
(in the example given) will be the same the
implicit checkout of the second form will not be
undone even if the rebase operation itself is
aborted.

Signed-off-by: Drew Northup <drew.northup@maine.edu>
---
 Documentation/git-rebase.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 96680c8..4e2411a 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -66,8 +66,9 @@ would be:
     D---E---F---G master
 ------------
 
-The latter form is just a short-hand of `git checkout topic`
-followed by `git rebase master`.
+*NOTE:* The latter form is just a short-hand of `git checkout topic`
+followed by `git rebase master`. If the rebase is aborted `topic` will 
+remain the checked-out branch.
 
 If the upstream branch already contains a change you have made (e.g.,
 because you mailed a patch which was applied upstream), then that commit
-- 
1.6.4
-- 
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59

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

end of thread, other threads:[~2011-03-14 15:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-13 16:54 [PATCH] Clarify: rebase abort leaves <branch> checked-out Drew Northup
2011-03-13 17:40 ` Johannes Schindelin
2011-03-13 19:41 ` Junio C Hamano
2011-03-14 11:40   ` Drew Northup
2011-03-14 15:47   ` [PATCH v2] Clarify: rebase exit " Drew Northup

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).