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

Re: Strangely hosed git install

From
Junio C Hamano <gitster@pobox.com>
Date
May 28, 2009, 07:18 UTC
Message-ID
<7vprdthezg.fsf@alter.siamese.dyndns.org>
In-Reply-To
<46a038f90905280008h5510d03aj5f6e5728ca075027@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> writes:
Show 20 quoted lines
> My main laptop (and part-time dev box) has a partially hosed git
> installation. This is an ubuntu intrepid machine where I have been
> building git from src for a while. Perhaps there's a way to diagnose
> this before I take more drastic measures :-)
>
> So far gc, repack and stash show errors. No dataloss AFAICS (though
> the git stash errors scared me initially).
>
> gc and repack error out thus:
>
> $ git gc
> usage: git-pack-objects [{ -q | --progress | --all-progress }]
>         [--max-pack-size=N] [--local] [--incremental]
>         [--window=N] [--window-memory=N] [--depth=N]
>         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]
>         [--threads=N] [--non-empty] [--revs [--unpacked | --all]*] [--reflog]
>         [--stdout | base-name] [--keep-unreachable] [<ref-list | <object-list]
> error: failed to run repack
> $ echo $?
> 255

"type --all git"? "git --exec-path"? "ls $(git --exec-path)"?

Previous: Martin LanghoffNext: Martin Langhoff
Message 2 of 8 in “Strangely hosed git install”
  1. Martin LanghoffMay 28, 2009
  2. Junio C HamanoMay 28, 2009
  3. Martin LanghoffMay 28, 2009
  4. Michael J GruberMay 28, 2009
  5. Martin LanghoffMay 28, 2009
  6. Martin LanghoffMay 28, 2009
  7. Michael J GruberMay 28, 2009
  8. Martin LanghoffMay 28, 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.