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

Re: git svn errors out with git-cat-file "usage" message

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Apr 30, 2009, 15:03 UTC
Message-ID
<46a038f90904300803h555f02b3n76d03c93d99f7506@mail.gmail.com>
In-Reply-To
<32541b130904300741p325012b7g28dabbd33576ceae@mail.gmail.com>
On Thu, Apr 30, 2009 at 4:41 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 8 quoted lines
> Try this:
>
>  strace -fF git svn  clone  -T trunk
> http://paintweb.googlecode.com/svn paintweb.git 2>&1 | egrep -i
> 'git.pm|git-svn'
>
> If you wade through the output, it should tell you which git.pm and
> git-svn you're *really* getting.
The output looks reasonable:

$ strace -fF git svn clone -T trunk http://paintweb.googlecode.com/svn paintweb.git 2>&1 | egrep -i 'git.pm|git-svn' execve("/home/martin/libexec/git-core/git-svn", ["git-svn", "clone", "-T", "trunk", "http://paintweb.googlecode.com/s"..., "paintweb.git"], [/* 44 vars */]) = 0 open("/home/martin/libexec/git-core/git-svn", O_RDONLY|O_LARGEFILE) = 3 stat64("/home/martin/share/perl/5.10.0/Git.pmc", 0xbffa451c) = -1 ENOENT (No such file or directory) stat64("/home/martin/share/perl/5.10.0/Git.pm", {st_mode=S_IFREG|0444, st_size=35479, ...}) = 0 open("/home/martin/share/perl/5.10.0/Git.pm", O_RDONLY|O_LARGEFILE) = 4 [pid 23322] write(2, "Unexpected result returned from "..., 96Unexpected result returned from git cat-file at /home/martin/libexec/git-core/git-svn line 3252 write(2, "Failed to read object 4b90eef952"..., 116Failed to read object 4b90eef95225bb9e34000e050d0cac8b84ab36f6 at /home/martin/libexec/git-core/git-svn line 3253.

cheers,
martin
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Avery PennarunNext: Avery Pennarun
Message 14 of 17 in “git svn errors out with git-cat-file "usage" message”
  1. Martin LanghoffApr 29, 2009
  2. Avery PennarunApr 29, 2009
  3. Michael J GruberApr 29, 2009
  4. Martin LanghoffApr 29, 2009
  5. Michael J GruberApr 29, 2009
  6. Martin LanghoffApr 30, 2009
  7. Michael J GruberApr 30, 2009
  8. Andreas EricssonApr 30, 2009
  9. Michael J GruberApr 30, 2009
  10. Martin LanghoffApr 30, 2009
  11. Michael J GruberApr 30, 2009
  12. Martin LanghoffApr 30, 2009
  13. Avery PennarunApr 30, 2009
  14. Martin LanghoffApr 30, 2009
  15. Avery PennarunApr 30, 2009
  16. Martin LanghoffApr 30, 2009
  17. Michael J GruberApr 30, 2009

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.