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

[BUG] fast-import quoting broken for renames

From
Brian Downing <bdowning@lavos.net>
Date
Nov 12, 2007, 11:13 UTC
Message-ID
<20071112111324.GR6212@lavos.net>
In-Reply-To
<20071112110354.GP6212@lavos.net>
While I'm at it...

$ GIT_DIR=foo.git git init $ GIT_DIR=foo.git git fast-import <<EOC commit refs/import committer foo <foo> 0 +0000 data <<EOF test EOF M 644 inline "foo" data <<EOF foo EOF R foo "bar" EOC

fatal: Garbage after dest in: R foo "bar"

$ GIT_DIR=foo.git git fast-import <<EOC commit refs/import committer foo <foo> 0 +0000 data <<EOF test EOF M 644 inline "foo" data <<EOF foo EOF R "foo" bar EOC

fatal: Missing space after source: R "foo" bar
-bcd
Previous: Brian DowningNext: Linus Torvalds
Message 2 of 6 in “[BUG] fast-import producing very deep tree deltas”
  1. Brian DowningNov 12, 2007
  2. [BUG] fast-import quoting broken for renamesBrian Downing, Nov 12, 2007
  3. Linus TorvaldsNov 12, 2007
  4. Shawn O. PearceNov 13, 2007
  5. Shawn O. PearceNov 13, 2007
  6. Brian DowningNov 13, 2007

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.