Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH/RFC 01/10] Teach rebase interactive the mark command

From: Jörg Sommer <hidden>
Date: 2016-06-15 22:44:29

Hi Shawn,

Shawn O. Pearce schrieb am Mon 14. Apr, 02:24 (-0400):
Jrg Sommer [off-list ref] wrote:
quoted
Shawn O. Pearce schrieb am Sat 12. Apr, 23:56 (-0400):
quoted
Why not use the mark syntax that fast-import uses?
I didn't know it.
quoted
In fast-import we use ":n" anytime we need to refer to a mark, e.g.
":1" or ":5".
Currently, I don't restrict the mark to be a number. It can anything that
is a valid ref. Should I restrict it?
In fast-import a mark can *only* be a number.
Only for the record: fast-import uses numbers and not strings of
digits, i.e. 001 == 1, and it ignores stuff following digits, i.e.
"12a" == 12 and "abc" == 0.
quoted
Except of this, I prefer to use the colon to be much closer to the syntax
of fast-import.
Me too, but it looks like in a human edited "TODO" script we may want
to be more friendly and allow named marks.
I don't think so. There shouldn't be so much marks that a user can't
remember them.

Thanks for your comments.

Jörg.
-- 
The UNIX Guru's View of Sex:
# unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help