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, 08:53 UTC
Message-ID
<46a038f90904300153v22aa3e9fo407ff5084b58b5fc@mail.gmail.com>
In-Reply-To
<46a038f90904300018u7101943blef084dc907a04c8d@mail.gmail.com>

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

Show 6 quoted lines
> Bingo! Yes,
>
> ~$ which git-cat-file
> /usr/bin/git-cat-file
> ~$ /usr/bin/git version
> git version 1.5.6.3
Actually, after removing the git-core package and all its dependencies...

# same git version that succeeds on Fedora 9, here says: $ git svn clone -T trunk http://paintweb.googlecode.com/svn paintweb.git usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1> error closing pipe: Broken pipe at /home/martin/libexec/git-core/git-svn line 3252 cat-file --batch: command returned error: 129

error closing pipe: Bad file descriptor at /home/martin/libexec/git-core/git-svn line 0 error closing pipe: Bad file descriptor at /home/martin/libexec/git-core/git-svn line 0 $ git version git version 1.6.0.6

# a newer git says... $ git svn clone -T trunk --ignore-paths releases http://paintweb.googlecode.com/svn paintweb.git usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1> Unexpected result returned from git cat-file at /home/martin/libexec/git-core/git-svn line 3526 Failed to read object 4b90eef95225bb9e34000e050d0cac8b84ab36f6 at /home/martin/libexec/git-core/git-svn line 3527.

$ git version git version 1.6.2.4.10.g2254d

... the plot thickens...

There is nothing in my env that would confuse git -- and my PATH has ~/bin as the first entry, trumping everything else. So perhaps the debian package had nothing to do with this?

Perl SVN bindings? How do I debug that side of things?
cheers,
m
-- 
 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: Michael J GruberNext: Michael J Gruber
Message 10 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.