git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
JWJames Westby <jw+debian@jameswestby.net>
Date
Mar 19, 2008, 18:39 UTC
Message-ID
<1205951953.32007.22.camel@flash>
In-Reply-To
<20080319020625.GA3535@spearce.org>
On Tue, 2008-03-18 at 22:06 -0400, Shawn O. Pearce wrote:
Show 11 quoted lines
> James, Ian -- to give you the short backstory we are talking about
> creating a new branch _without_ a "from", but instead using a single
> "merge" to specify the sole ancestor revision of a new commit to
> be placed on the new branch.  This allows the frontend to supply
> all files for the tree as none were inherited from the sole ancestor.
> 
> The other (more obvious?) approach to accomplish the same result
> is to use "from" followed by a "filedeleteall" to clear the files,
> then supply the new files.  Both approaches have the exact same
> result in git-fast-import.
> 

I don't see why this would cause a fundamental problem for bzr-fastimport, and shouldn't be difficult to implement, so I'm happy for you to proceed however you like.

Thanks,
James
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 4 of 9 in “"commit"s without "from" in fast-import”
  1. Eyvind BernhardsenMar 17, 2008
  2. Shawn O. PearceMar 18, 2008
  3. Shawn O. PearceMar 19, 2008
  4. James WestbyMar 19, 2008
  5. Shawn O. PearceMar 20, 2008
  6. Eyvind BernhardsenMar 21, 2008
  7. fast-import: Document the effect of "merge" with no "from" in a commitEyvind Bernhardsen, Mar 21, 2008
  8. Shawn O. PearceMar 23, 2008
  9. Junio C HamanoMar 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.