Re: Decreasing gains from git lost-found

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Git Mailing List <git@...>
Date: Tuesday, September 11, 2007 - 7:42 am

Junio C Hamano wrote:

Originally I was trying to find the lost tip, which was made impossible due to
the extremely large number of loose branch-tips git-lost-found reported.


Yes, but since reflogs *are* taken into account when pruning lost tips,
lost-found reported 594 revisions.




So how does one unpack a packfile to extract the loose objects?

mv .git/objects/pack/*.pack /tmp/git-packs
for p in /tmp/git-packs/*.pack; do git unpack-objects < $p; done

?

Seems like an awful lot of trouble. I'll look into patching
builtin-pack-objects.c instead to accept an "--ignore-reflog" flag and prune
reflog-accessible objects. Will that break anything fundamental? To me, the
ability to say "HEAD@{35}" (or "HEAD@{650}"...) is not fundamental, and I
don't know any scripts that rely on it for their operations.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Decreasing gains from git lost-found, Andreas Ericsson, (Mon Sep 10, 11:21 am)
Re: Decreasing gains from git lost-found, Junio C Hamano, (Mon Sep 10, 1:30 pm)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 7:42 am)
Re: Decreasing gains from git lost-found, Matthieu Moy, (Tue Sep 11, 10:20 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:31 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 11:15 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:36 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 9:50 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:27 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 11:12 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:39 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 10:38 am)
Re: Decreasing gains from git lost-found, Nicolas Pitre, (Tue Sep 11, 10:58 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Tue Sep 11, 11:25 am)
Re: Decreasing gains from git lost-found, Matthieu Moy, (Mon Sep 10, 11:28 am)
Re: Decreasing gains from git lost-found, Andreas Ericsson, (Mon Sep 10, 11:33 am)