Re: [PATCH] Add "--expire <time>" option to 'git prune'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Junio C Hamano <gitster@...>, <git@...>, <pasky@...>
Date: Thursday, November 29, 2007 - 10:35 am

Johannes Schindelin schrieb:

Here you could throw in:

	git prune --expire=1.hour.ago &&
	test 20 = $(git count-objects | sed "s/ .*//") &&
	test -f $BLOB_FILE &&

to test that the object is not pruned (and the alternate --expire syntax).


-- Hannes

-
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)
Re: [PATCH] Add "--expire <time>" option to 'git prune', Johannes Sixt, (Thu Nov 29, 10:35 am)
[PATCH v2] Add "--expire &lt;time&gt;" option to 'git prune', Johannes Schindelin, (Thu Nov 29, 11:22 am)