Re: corrupt object on git-gc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yossi Leybovich wrote:
Hi

 I know its loose but still I think there are references in the
repository to this object.
How I can remove it from the repository ?


sleybo@SLEYBO-LT /w/work/EMC/ib.071030.001/ib
$ mv .git/objects/4b ..


That was not a very good idea. You just moved ALL objects whose hash
begin with 4b out of the object database.

Try only moving the offending file out of the 4b directory.

sleybo@SLEYBO-LT /w/work/EMC/ib.071030.001/ib
$ git-fsck --full
              to    blob 4b920d658a05a66a9d18dd34b51d6e3a9f229ce1
              to  commit 4b1aabfe3ecc12007535369a2ba17bcee776df64
              to    blob 4b920d658a05a66a9d18dd34b51d6e3a9f229ce1
              to    tree 4b89da873ce6e1b36a818d70d4665b3074f2354c
              to    blob 4b920d658a05a66a9d18dd34b51d6e3a9f229ce1>

Notice how all of these start with 4b? Move the directory back and
get rid of just the object that causes errors.

--
Andreas Ericsson                   andreas.ericsson@xxxxxx
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux