Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [RFC/PATCH 3/3] push: add 'prune' option

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:53:07

On Wed, Feb 22, 2012 at 10:43 PM, Felipe Contreras
[off-list ref] wrote:
On Sat, Feb 18, 2012 at 12:34 AM, Junio C Hamano [off-list ref] wrote:
quoted
Does it make sense to specify --prune when --mirror is in effect?  If so,
how would it behave differently from a vanilla --mirror?  If not, should
it be detected as an error?
Probably doesn't make sense, should be an error.
Actually, after writing the patch for the documentation I realized
this would be difficult to describe: you can use --all --prune, but
not --mirror --prune, and the documentation currently has '[--all |
--mirror | --tags]'. So I decided to make it orthogonal, you can use
--prune with --all, --tags, *and* --mirror. Of course, using --prune
--mirror is the same as --mirror.

Cheers.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help