Merge branch 'mz/doc-rebase-abort' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Aug 2011 18:41:28 +0000 (11:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Aug 2011 18:41:28 +0000 (11:41 -0700)
* mz/doc-rebase-abort:
rebase: clarify "restore the original branch"

1  2 
Documentation/git-rebase.txt
index a9e0e503cb264ac02b123395ae9c8d0b4a98ebde,952859f40a80c3ea7ae84823f9bcc0e80c75fd2d..504945c69153a30252527c16945836fd2aa2ec5a
@@@ -12,6 -12,7 +12,6 @@@ SYNOPSI
        [<upstream>] [<branch>]
  'git rebase' [-i | --interactive] [options] --onto <newbase>
        --root [<branch>]
 -
  'git rebase' --continue | --skip | --abort
  
  DESCRIPTION
@@@ -45,7 -46,7 +45,7 @@@ with a different commit message or time
  It is possible that a merge failure will prevent this process from being
  completely automatic.  You will have to resolve any such merge failure
  and run `git rebase --continue`.  Another option is to bypass the commit
- that caused the merge failure with `git rebase --skip`.  To restore the
+ that caused the merge failure with `git rebase --skip`.  To check out the
  original <branch> and remove the .git/rebase-apply working files, use the
  command `git rebase --abort` instead.
  
@@@ -232,7 -233,11 +232,11 @@@ leave out at most one of A and B, in wh
        Restart the rebasing process after having resolved a merge conflict.
  
  --abort::
-       Restore the original branch and abort the rebase operation.
+       Abort the rebase operation and reset HEAD to the original
+       branch. If <branch> was provided when the rebase operation was
+       started, then HEAD will be reset to <branch>. Otherwise HEAD
+       will be reset to where it was when the rebase operation was
+       started.
  
  --skip::
        Restart the rebasing process by skipping the current patch.