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