From: "Marcin Wiśnicki" <mwisnicki@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git <git@vger.kernel.org>
Subject: Re: Missing blobs after pruning dangling commits
Date: Tue, 23 Aug 2011 12:16:49 +0200 [thread overview]
Message-ID: <CAC9GOO_QGsadeE4EK8gg6JMZdzFPY_SjnnwOqjp5f--A2SO9Og@mail.gmail.com> (raw)
In-Reply-To: <4E5372E5.1070509@drmicha.warpmail.net>
2011/8/23 Michael J Gruber <git@drmicha.warpmail.net>:
> 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.
prev parent reply other threads:[~2011-08-23 10:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 14:29 Missing blobs after pruning dangling commits Marcin Wiśnicki
2011-08-23 9:29 ` Michael J Gruber
2011-08-23 10:16 ` Marcin Wiśnicki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAC9GOO_QGsadeE4EK8gg6JMZdzFPY_SjnnwOqjp5f--A2SO9Og@mail.gmail.com \
--to=mwisnicki@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).