Re: [PATCH/RFC] Teach repack to optionally retain otherwise lost objects

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Johannes Sixt <johannes.sixt@...>, <git@...>
Date: Thursday, November 29, 2007 - 7:57 am

Hi,

On Wed, 28 Nov 2007, Junio C Hamano wrote:


Thanks ;-)


Yep.


Exactly.  See

http://repo.or.cz/w/repo.git?a=commitdiff;h=fba501deabd349afbe3b8bf89f385889889e04ac

for a tired proposal.

Note that "prune" is not (yet) an option, since it could possibly destroy 
objects which are needed in an ongoing push operation.

However, we could do exactly the same as with reflogs: introduce a grace 
period (with loose objects, we can use the ctime...)


Well, in theory you could also iterate over all projects and hard link the 
packs/objects of their alternates, and _then_ iterate and repack.  But it 
is simpler and more obvious in the case of repo.or.cz to do all in one 
iteration, because we can order the repository names easily so that 
forkees come first, _and_ we have an easy way to find out what are the 
forks of a project.

Ciao,
Dscho

-
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:
[PATCH/RFC] Teach repack to optionally retain otherwise lost..., Johannes Schindelin, (Wed Nov 28, 11:41 pm)
Re: [PATCH/RFC] Teach repack to optionally retain otherwise ..., Johannes Schindelin, (Thu Nov 29, 7:57 am)
[PATCH] Add "--expire &lt;time&gt;" option to 'git prune', Johannes Schindelin, (Thu Nov 29, 10:21 am)
[PATCH] Add "--expire &lt;time&gt;" option to 'git prune', Johannes Schindelin, (Thu Nov 29, 4:59 pm)
Re: [PATCH] Add "--expire &lt;time&gt;" option to 'git prune', Johannes Schindelin, (Thu Nov 29, 12:13 pm)
[PATCH v2] Add "--expire &lt;time&gt;" option to 'git prune', Johannes Schindelin, (Thu Nov 29, 11:22 am)