Re: Missing blobs after pruning dangling commits

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

 



2011/8/23 Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx>:
> Suggestions:

Neither of them helped, however I've added old packs from backup and did

git fsck
git repack -ad
git reflog expire --expire=0 --all
git repack -ad
git prune
git fsck

And now everything is fine.

Only thing that concerns me is that there are still two packs:
$ ls -la .git/objects/pack/
total 145632
drwxr-xr-x    2 marcin.w Administ     4096 Aug 23 11:42 .
drwxr-xr-x    4 marcin.w Administ    20480 Aug 23 11:47 ..
-rw-r--r--    1 marcin.w Administ   529152 Aug  9 15:01
.tmp-3616-pack-83952e51abdea7469eef06dde2e692e04ba8f9f3.idx
-rw-r--r--    1 marcin.w Administ 149572531 Aug  9 15:01
.tmp-3616-pack-83952e51abdea7469eef06dde2e692e04ba8f9f3.pack
-r--r--r--    1 marcin.w Administ   555724 Aug 23 11:42
pack-3cd1ec9be7cdb31d8eac4404c249edf9c1654937.idx
-r--r--r--    1 marcin.w Administ 147570858 Aug 23 11:42
pack-3cd1ec9be7cdb31d8eac4404c249edf9c1654937.pack

Both files have identical ACLs but pack-3cd1.. has dos attribute
"readonly". Toggling this attribute on any file does not seem to have
an effect on git repack. Both packs are present in
.git/objects/info/packs.
Deleting it by hand followed by repack -ad and fsck seems to work
though, which means it was redundant yet not removed by repack.

> Could you share that repo or is it private?

Unfortunately I can't.
--
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]