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

Re: Moving a directory into another fails

From
Jon Smirl <jonsmirl@gmail.com>
Date
Jul 26, 2006, 23:03 UTC
Message-ID
<9e4733910607261603m6772602cr333d8c58f555edaa@mail.gmail.com>
In-Reply-To
<20060726223459.GA30601@vsectoor.geht-ab-wie-schnitzel.de>
This is a simpler sequence

cg clone git foo cg clone git foo1 cd foo mkdir zzz git mv gitweb zzz cg diff >patch cg ../foo1 cg patch <../foo/patch

Fails with these errors. We have determined that git apply patch is ok and this is a bug in cg patch.

[jonsmirl@jonsmirl foo1]$ cg patch <../foo/patch mv: cannot move `gitweb/README' to `zzz/gitweb/README': No such file or directory mv: cannot move `gitweb/gitweb.cgi' to `zzz/gitweb/gitweb.cgi': No such file or directory mv: cannot move `gitweb/gitweb.css' to `zzz/gitweb/gitweb.css': No such file or directory mv: cannot stat `"gitweb/test/M\\303\\244rchen"': No such file or directory mv: cannot move `gitweb/test/file with spaces' to `zzz/gitweb/test/file with spaces': No such file or directory mv: cannot move `gitweb/test/file+plus+sign' to `zzz/gitweb/test/file+plus+sign': No such file or directory patch: **** Only garbage was found in the patch input. Removing file gitweb/README Adding file zzz/gitweb/README error: zzz/gitweb/README: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/README cg-add: warning: not all items could have been added Removing file gitweb/gitweb.cgi Adding file zzz/gitweb/gitweb.cgi error: zzz/gitweb/gitweb.cgi: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/gitweb.cgi cg-add: warning: not all items could have been added Removing file gitweb/gitweb.css Adding file zzz/gitweb/gitweb.css error: zzz/gitweb/gitweb.css: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/gitweb.css cg-add: warning: not all items could have been added Removing file "gitweb/test/Märchen" Adding file "zzz/gitweb/test/Märchen" error: "zzz/gitweb/test/Märchen": does not exist and --remove not passed fatal: Unable to process file "zzz/gitweb/test/Märchen" cg-add: warning: not all items could have been added Removing file gitweb/test/file with spaces Adding file zzz/gitweb/test/file with spaces error: zzz/gitweb/test/file with spaces: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/test/file with spaces cg-add: warning: not all items could have been added Removing file gitweb/test/file+plus+sign Adding file zzz/gitweb/test/file+plus+sign error: zzz/gitweb/test/file+plus+sign: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/test/file+plus+sign cg-add: warning: not all items could have been added [jonsmirl@jonsmirl foo1]$

-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Nicolas VilzNext: Nicolas Vilz
Message 3 of 24 in “Moving a directory into another fails”
  1. Jon SmirlJul 26, 2006
  2. Nicolas VilzJul 26, 2006
  3. Jon SmirlJul 26, 2006
  4. Nicolas VilzJul 26, 2006
  5. Petr BaudisJul 28, 2006
  6. Stefan PfetzingDec 4, 2006
  7. Jakub NarebskiDec 4, 2006
  8. Johannes SchindelinDec 4, 2006
  9. Jakub NarebskiDec 4, 2006
  10. Johannes SchindelinDec 4, 2006
  11. Jakub NarebskiDec 4, 2006
  12. Linus TorvaldsDec 4, 2006
  13. Linus TorvaldsDec 4, 2006
  14. Shawn PearceDec 4, 2006
  15. Jakub NarebskiDec 4, 2006
  16. Johannes SchindelinDec 4, 2006
  17. Linus TorvaldsDec 4, 2006
  18. Johannes SchindelinDec 5, 2006
  19. Jakub NarebskiDec 5, 2006
  20. filesystem encodings and gitweb tests, was Re: Moving a directory into another failsJohannes Schindelin, Dec 5, 2006
  21. Jakub NarebskiDec 5, 2006
  22. Johannes SchindelinDec 5, 2006
  23. Linus TorvaldsDec 5, 2006
  24. Johannes SchindelinDec 4, 2006

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.