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