Re: "commit"s without "from" in fast-import

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eyvind Bernhardsen <eyvind-git@...>
Cc: Git Mailing List <git@...>
Date: Monday, March 17, 2008 - 11:43 pm

Eyvind Bernhardsen <eyvind-git@orakel.ntnu.no> wrote:

Hehe.  Cute trick.  Never intended for it to be used like that.
The git implementation of git-fast-import behaves as you describe,
but I do not know how bzr-fast-import would handle such a stream.


In my opinion its an interesting use of the language.  The grammar
does not say that no merge commands are permitted when creating
a branch.  It wasn't what I intended, and is really a gap in the
grammar specification.  I'd prefer well known frontends use a
more conventional structure, just in case something were to ever
change about the implementation details of a given importer and
this command set break.  But that's just me.

Maybe we should make this more formalized in the documentation as
allowable, so if it does break for an importer the importer author
has to fix git-fast-import, bzr-fast-import, *-fast-import instead.

-- 
Shawn.
--
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:
"commit"s without "from" in fast-import , Eyvind Bernhardsen, (Mon Mar 17, 6:10 pm)
Re: "commit"s without "from" in fast-import, Shawn O. Pearce, (Mon Mar 17, 11:43 pm)