git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Clarify: rebase abort leaves <branch> checked-out

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2011, 19:41 UTC
Message-ID
<7vtyf6hkpo.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1300035258.5129.12.camel@drew-northup.unet.maine.edu>
Drew Northup <drew.northup@maine.edu> writes:
Show 5 quoted lines
> -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.

The behaviour is consistent between the case where "this on that" form succeeds and it stops and gets aborted, and I think both are euqally noteworthy. So I'd suggest dropping "if aborted".

Previous: Johannes SchindelinNext: Drew Northup
Message 3 of 5 in “Clarify: rebase abort leaves <branch> checked-out”
  1. Clarify: rebase abort leaves <branch> checked-outDrew Northup, Mar 13, 2011
  2. Johannes SchindelinMar 13, 2011
  3. Junio C HamanoMar 13, 2011
  4. Drew NorthupMar 14, 2011
  5. Clarify: rebase exit leaves <branch> checked-outDrew Northup, Mar 14, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.