login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jörg <joerg@...>
Cc: <git@...>, <Johannes.Schindelin@...>
Date: Friday, April 11, 2008 - 7:48 pm

Jörg Sommer <joerg@alea.gnuu.de> writes:


Comments as requested...


I wonder if this should live somewhere inside $GIT_DIR/refs namespace, so
that if any object pruning is triggered ever while rebasing interactively
the objects that marks require will be protected.


Bashism is not appreciated here.


Wouldn't

	pick 5cc8f37 (init: show "Reinit" message even in ...)
	mark 1
	pick 18d077c (quiltimport: fix misquoting of parse...)
	mark 2
	reset 1
        merge #2

be easier for people?

When you reference a commit with mark name, it is reasonable to require it
to be prefixed with '#', which is a character that cannot be either in
refname nor hex representation of a commit object.  I think it is Ok to
accept an optional prefix when defining one, e.g. "mark #47", but I do not
think requiring '#' prefix when defining one is needed.


I understand that the reason why you did not pick a more obvious 'm' is
because you would want to add 'merge' later and give it 'm', but we do not
have to give a single-letter equivalent to all commands especially when
there is not an appropriate one.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] Move redo merge code in a function, Jörg Sommer, (Sun Mar 23, 5:42 pm)
Re: [PATCH 1/4] Move redo merge code in a function, Johannes Schindelin, (Sun Mar 23, 6:26 pm)
[PATCH 2/4] Rework redo_merge, Jörg Sommer, (Sun Mar 23, 5:42 pm)
Re: [PATCH 2/4] Rework redo_merge, Johannes Schindelin, (Sun Mar 23, 6:29 pm)
Re: [PATCH 3/4] Add a function for get the parents of a commit, Johannes Schindelin, (Sun Mar 23, 6:33 pm)
Re: [PATCH 4/4] git-rebase -i: New option to support rebase ..., Johannes Schindelin, (Sun Mar 23, 6:41 pm)
Re: [PATCH 4/4] git-rebase -i: New option to support rebase ..., Johannes Schindelin, (Mon Mar 24, 9:08 am)
[PATCH v2.1] Teach rebase interactive the mark command, Jörg Sommer, (Mon Apr 14, 6:39 am)
Re: [PATCH v2.1] Teach rebase interactive the mark command, Shawn O. Pearce, (Mon Apr 14, 7:29 pm)
mark parsing in fast-import, Jörg, (Sun Apr 20, 7:44 pm)
Re: mark parsing in fast-import, Shawn O. Pearce, (Sun Apr 20, 8:26 pm)
Re: mark parsing in fast-import, Jörg, (Mon Apr 21, 4:41 am)
Re: mark parsing in fast-import, Shawn O. Pearce, (Mon Apr 21, 7:59 pm)
Re: mark parsing in fast-import, Jörg, (Tue Apr 22, 5:39 am)
Re: mark parsing in fast-import, Shawn O. Pearce, (Tue Apr 22, 7:15 pm)
[PATCH v2] Make mark parsing much more restrictive, Jörg Sommer, (Fri Apr 25, 5:04 am)
[PATCH v2.2] Teach rebase interactive the mark command, Jörg Sommer, (Fri Apr 25, 5:44 am)
Re: [PATCH v2.2] Teach rebase interactive the mark command, Junio C Hamano, (Sun Apr 27, 2:13 am)
Re: [PATCH v2 04/13] Teach rebase interactive the mark command, Johannes Schindelin, (Tue Apr 22, 6:31 am)
Re: [PATCH v2 04/13] Teach rebase interactive the mark command, Johannes Schindelin, (Tue Apr 22, 4:52 am)
[PATCH v2 06/13] Move redo merge code in a function, Jörg Sommer, (Sun Apr 13, 8:21 pm)
[PATCH v2 09/13] Select all lines with fake-editor, Jörg Sommer, (Sun Apr 13, 8:21 pm)
[PATCH v2 11/13] Add option --first-parent, Jörg Sommer, (Sun Apr 13, 8:21 pm)
[PATCH v2 13/13] Add option --preserve-tags, Jörg Sommer, (Sun Apr 13, 8:21 pm)
Re: [PATCH/RFC 01/10] Teach rebase interactive the mark comm..., Junio C Hamano, (Fri Apr 11, 7:48 pm)
[PATCH/RFC 04/10] Move redo merge code in a function, Jörg Sommer, (Wed Apr 9, 7:58 pm)
[PATCH/RFC 05/10] Rework redo_merge, Jörg Sommer, (Wed Apr 9, 7:58 pm)
[PATCH/RFC 09/10] Select all lines with fake-editor, Jörg Sommer, (Wed Apr 9, 7:58 pm)
speck-geostationary