Re: [PATCH] repack: allow simultaneous packing and pruning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Tuesday, October 10, 2006 - 3:27 pm

On Wed, 11 Oct 2006, Eran Tromer wrote:

No.

Those unreferenced objects are old history that won't be part of any new 
history.

If you create new history, they won't be in the pack.

It's obviously possible that you create new history that has a blob that 
is equal to some old history (and no loose object will be created), but by 
then we're _really_ reaching. 


Right. And you'd want to repack _and_ prune, but they should be kept 
separate, because one is safe, the other is not.

Of course, if the code were to check that no references have changed over 
the operation, then I wouldn't have any objections.

		Linus
-
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:
Re: [PATCH] repack: allow simultaneous packing and pruning, Linus Torvalds, (Tue Oct 10, 8:03 am)
Re: [PATCH] repack: allow simultaneous packing and pruning, Junio C Hamano, (Tue Oct 10, 1:24 pm)
Re: [PATCH] repack: allow simultaneous packing and pruning, Linus Torvalds, (Tue Oct 10, 2:25 pm)
Re: [PATCH] repack: allow simultaneous packing and pruning, Linus Torvalds, (Tue Oct 10, 3:27 pm)