Re: [PATCH v2 04/13] Teach rebase interactive the mark command
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 29, 2008, 00:39 UTC
- Message-ID
- <alpine.DEB.1.00.0804290138170.27457@eeepc-johanness>
- In-Reply-To
- <7v3ap5a4ny.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 28 Apr 2008, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Tue, 22 Apr 2008, Junio C Hamano wrote: > > > >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > >> > >> > So I really hate the idea of introducing yet other marks when we already > >> > have unique identifiers: the (abbreviated) commit names. > >> > >> Didn't I give you an example why commit object names are _not_ unique > >> identifiers already? > > > > By that reasoning, rebase -i cannot work anyway: it relies on the > > abbreviated identifiers, not on anything else, for the "pick" command. > > No, read the message again and think for 5 minutes.
pick abcdefg pick pqrstuv
Now imagine that pqrstuv is a unique commit name _before_ cherry-picking abcdefg, but not _after_ it. Unlikely? Yes. Impossible? No.
Ciao, Dscho