Re: Strangely hosed git install
flat view
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:52
Martin Langhoff [off-list ref] writes:
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)"?