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

Re: [PATCH v2] git-rebase: Teach rebase "-" shorthand.

From
Brian Gesiak <modocache@gmail.com>
Date
Mar 19, 2014, 18:09 UTC
Message-ID
<CAN7MxmVny80BYvYBZ=iBybx_ffVhOCfkP3pU6fYzHpxNu4QYHA@mail.gmail.com>
In-Reply-To
<20140319180213.GB11018@serenity.lan>
Thank you for the feedback and tweaks!
> Is the eye-candy output to the standard output what is the most
> interesting during the execution of a rebase?  Wouldn't we be
> more interested to make sure that we did transplant the history
> on the same commit between two cases?
I agree. I'll consult the other tests to see how to write such a test.
> Can we use `git name-rev` to put the actual name here, so that people
> who have not done what they intended can hopefully notice sooner?

This sounds like a great idea! Doing so would mirror how `git checkout` behaves; checkout informs the user of which branch they have switched to when using the "-" shorthand: "Switched to branch 'master'".

Should I submit a new patch, or reroll this one?
- Brian Gesiak
Previous: John KeepingNext: Junio C Hamano
Message 7 of 12 in “git-rebase: Teach rebase "-" shorthand.”
  1. git-rebase: Teach rebase "-" shorthand.Brian Gesiak, Mar 18, 2014
  2. Torsten BögershausenMar 18, 2014
  3. Junio C HamanoMar 18, 2014
  4. git-rebase: Teach rebase "-" shorthand.Brian Gesiak, Mar 19, 2014
  5. Junio C HamanoMar 19, 2014
  6. John KeepingMar 19, 2014
  7. Brian GesiakMar 19, 2014
  8. Junio C HamanoMar 19, 2014
  9. John KeepingMar 19, 2014
  10. Junio C HamanoMar 19, 2014
  11. John KeepingMar 19, 2014
  12. Junio C HamanoMar 19, 2014

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.