* orphan blob or what?
@ 2012-11-09 0:24 bruce
2012-11-09 1:08 ` Tomas Carnecky
2012-11-09 6:23 ` Robertson, Bruce E
0 siblings, 2 replies; 6+ messages in thread
From: bruce @ 2012-11-09 0:24 UTC (permalink / raw)
To: git
In today's and older clones of https://github.com/mirrors/linux.git I
find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't
figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it
in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it,
can't see it via 'git log'. And yet
linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
Thanks,
bruce
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orphan blob or what?
2012-11-09 0:24 orphan blob or what? bruce
@ 2012-11-09 1:08 ` Tomas Carnecky
2012-11-09 19:37 ` bruce
2012-11-09 6:23 ` Robertson, Bruce E
1 sibling, 1 reply; 6+ messages in thread
From: Tomas Carnecky @ 2012-11-09 1:08 UTC (permalink / raw)
To: bruce, git
On Thu, 08 Nov 2012 16:24:36 -0800, bruce <bruce.e.robertson@intel.com> wrote:
> In today's and older clones of https://github.com/mirrors/linux.git I
> find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't
> figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it
> in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it,
> can't see it via 'git log'. And yet
>
> linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
> 6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
> 8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
> f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
Commit dee0bb9 (ASoC: Mark WM8962 Additional Control 4 register as volatile,
2010-09-29) references this blob.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orphan blob or what?
2012-11-09 1:08 ` Tomas Carnecky
@ 2012-11-09 19:37 ` bruce
2012-11-09 21:41 ` Tomas Carnecky
0 siblings, 1 reply; 6+ messages in thread
From: bruce @ 2012-11-09 19:37 UTC (permalink / raw)
To: Tomas Carnecky; +Cc: git
Tomas Carnecky <tomas.carnecky@gmail.com> writes:
Just idiocy on my part. Thanks.
> On Thu, 08 Nov 2012 16:24:36 -0800, bruce <bruce.e.robertson@intel.com> wrote:
>> In today's and older clones of https://github.com/mirrors/linux.git I
>> find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't
>> figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it
>> in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it,
>> can't see it via 'git log'. And yet
>>
>> linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>> 6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
>> 8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>> f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>
> Commit dee0bb9 (ASoC: Mark WM8962 Additional Control 4 register as volatile,
> 2010-09-29) references this blob.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orphan blob or what?
2012-11-09 19:37 ` bruce
@ 2012-11-09 21:41 ` Tomas Carnecky
2012-11-11 0:32 ` bruce
0 siblings, 1 reply; 6+ messages in thread
From: Tomas Carnecky @ 2012-11-09 21:41 UTC (permalink / raw)
To: bruce; +Cc: git
On Fri, 09 Nov 2012 11:37:04 -0800, bruce <bruce.e.robertson@intel.com> wrote:
> Tomas Carnecky <tomas.carnecky@gmail.com> writes:
>
> Just idiocy on my part. Thanks.
>
> > On Thu, 08 Nov 2012 16:24:36 -0800, bruce <bruce.e.robertson@intel.com> wrote:
> >> In today's and older clones of https://github.com/mirrors/linux.git I
> >> find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't
> >> figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it
> >> in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it,
> >> can't see it via 'git log'. And yet
> >>
> >> linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
> >> 6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
> >> 8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
> >> f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
> >
> > Commit dee0bb9 (ASoC: Mark WM8962 Additional Control 4 register as volatile,
> > 2010-09-29) references this blob.
It wasn't easy to find the commit. First I figured out at which path that file
was stored. Using git log -S'wm8962_reg[WM8962_MAX_REGISTER + 1]' I quickly
determined that the file was somewhere in sound/, more specifically
sound/soc/codecs/wm8962-tables.c. However a 'git log --
sound/soc/codecs/wm8962-tables.c' did not show any commit. That was strange,
because 'git log -S'WM8962_MAX_REGISTER + 1' --name-status --
sound/soc/codecs/' clearly shows that the file existed at some point in the
past. The commit is hidden from a simple 'git log' due to 'History
Simplification'. See the git-log man page. I added --full-history -p to the log
command, and searched in the pager for '6fa98e'. That revealed the commit which
references that blob:
git log --full-history -p -- sound/soc/codecs/wm8962-tables.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orphan blob or what?
2012-11-09 21:41 ` Tomas Carnecky
@ 2012-11-11 0:32 ` bruce
0 siblings, 0 replies; 6+ messages in thread
From: bruce @ 2012-11-11 0:32 UTC (permalink / raw)
To: Tomas Carnecky; +Cc: git
Tomas Carnecky <tomas.carnecky@gmail.com> writes:
> On Fri, 09 Nov 2012 11:37:04 -0800, bruce <bruce.e.robertson@intel.com> wrote:
>> Tomas Carnecky <tomas.carnecky@gmail.com> writes:
>>
>> Just idiocy on my part. Thanks.
>>
>> > On Thu, 08 Nov 2012 16:24:36 -0800, bruce <bruce.e.robertson@intel.com> wrote:
>> >> In today's and older clones of https://github.com/mirrors/linux.git I
>> >> find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't
>> >> figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it
>> >> in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it,
>> >> can't see it via 'git log'. And yet
>> >>
>> >> linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>> >> 6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
>> >> 8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>> >> f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
>> >
>> > Commit dee0bb9 (ASoC: Mark WM8962 Additional Control 4 register as volatile,
>> > 2010-09-29) references this blob.
>
> It wasn't easy to find the commit. First I figured out at which path that file
> was stored. Using git log -S'wm8962_reg[WM8962_MAX_REGISTER + 1]' I quickly
> determined that the file was somewhere in sound/, more specifically
> sound/soc/codecs/wm8962-tables.c. However a 'git log --
> sound/soc/codecs/wm8962-tables.c' did not show any commit. That was strange,
> because 'git log -S'WM8962_MAX_REGISTER + 1' --name-status --
> sound/soc/codecs/' clearly shows that the file existed at some point in the
> past. The commit is hidden from a simple 'git log' due to 'History
> Simplification'. See the git-log man page. I added --full-history -p to the log
> command, and searched in the pager for '6fa98e'. That revealed the commit which
> references that blob:
>
> git log --full-history -p -- sound/soc/codecs/wm8962-tables.c
Thanks very much for the elucidation. I really must RTFMs. Only 44.786
Kib lines. Porcelain (mostly) first. I just can't eliminate the reading
I need to do.
FWIW, I was somewhat perplexed by searching for
c969f19f8fd17e600a16fe91aab66d86936cce0a in 'gitk -all'. It doesn't find
it BUT if I use --select-commit=c969f19f8fd17e600a16fe91aab66d86936cce0a
then positions to it. If I position away again it again can't find
it. Bother!
BTW, this was all occasioned by looking for unused large packed blobs as
an educational exercise.
Thanks again,
Bruce
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: orphan blob or what?
2012-11-09 0:24 orphan blob or what? bruce
2012-11-09 1:08 ` Tomas Carnecky
@ 2012-11-09 6:23 ` Robertson, Bruce E
1 sibling, 0 replies; 6+ messages in thread
From: Robertson, Bruce E @ 2012-11-09 6:23 UTC (permalink / raw)
To: git@vger.kernel.org
Please excuse one inaccuracy: I did a 'git pull' not a clone. So it could be an old .idx file at my end possibly.
Thanks,
bruce
-----Original Message-----
From: Robertson, Bruce E
Sent: Thursday, November 08, 2012 4:25 PM
To: git@vger.kernel.org
Subject: orphan blob or what?
In today's and older clones of https://github.com/mirrors/linux.git I find this object, 6fa98ea0ae40f9a38256f11e5dc270363f785aee, that I can't figure out how to eliminate^h^h^h^h^h^h^h^h^hget rid of. I don't see it in 'git fsck', 'git gc --aggressive --prune' doesn't seem to prune it, can't see it via 'git log'. And yet
linux/.git/objects/pack$ git verify-pack -v *.idx | grep 6fa98ea0ae40f9a38256f11e5dc270363f785aee
6fa98ea0ae40f9a38256f11e5dc270363f785aee blob 1519697 124840 515299673
8231eaa31ce1107c1463deb6ec33f61618aedbb9 blob 67 63 515424513 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
f21a8c1b9d47736fa4e27def66f04b9fe2b4bc53 blob 90 83 515424576 1 6fa98ea0ae40f9a38256f11e5dc270363f785aee
Thanks,
bruce
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-11 0:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09 0:24 orphan blob or what? bruce
2012-11-09 1:08 ` Tomas Carnecky
2012-11-09 19:37 ` bruce
2012-11-09 21:41 ` Tomas Carnecky
2012-11-11 0:32 ` bruce
2012-11-09 6:23 ` Robertson, Bruce E
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).