Re: Decreasing gains from git lost-found

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

Andreas Ericsson wrote:

I'll expand on this a bit.

I thought that the loose tips weren't being pruned because they were packed.
I had forgotten about the reflog protecting them from deletion, so in order
to get rid of the loose tips after I was done getting my data back, I wanted
to prune all the objects. Since I believed that would require all the objects
to be loose, I sought to unpack the packs I had created.

I realize now that unpack-objects *must* work as Junio explained in another
email (ie, not unpack anything that's already in the odb), as unpack-objects
is used to explode the packs received when pulling (or being pushed to).
Should it have different semantics, git users would otherwise risk having
known good objects clobbered by bad ones via some social engineering and a
pull from a malign repo.

-- 
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)