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
Avery Pennarun <apenwarr@gmail.com>
Date
Apr 30, 2009, 16:26 UTC
Message-ID
<32541b130904300926x472d6d14p2896d3ade7566684@mail.gmail.com>
In-Reply-To
<46a038f90904300803h555f02b3n76d03c93d99f7506@mail.gmail.com>

On Thu, Apr 30, 2009 at 11:03 AM, Martin Langhoff <martin.langhoff@gmail.com> wrote:

Show 28 quoted lines
> On Thu, Apr 30, 2009 at 4:41 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
>> 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.

And do the contents of these files match the ones in your git source directory? What are their md5sums?

/home/martin/libexec/git-core/git-svn /home/martin/share/perl/5.10.0/Git.pm

Avery
Previous: Martin LanghoffNext: Martin Langhoff
Message 15 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.