Re: clone breaks replace
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 7, 2011, 22:58 UTC
- Message-ID
- <7vmxnc48yt.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110107220942.GB10343@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> 2. Should clone fetch refs from refs/replace (either by default, or > with an option)? > ... > Which leads to the second question. It is basically a matter of saying > "do you want to fetch the view that upstream has"? I can definitely see > that being useful, and meriting an option. However, it may or may not be > worth turning on by default, as upstream's view may be confusing.
I think that should be stated a bit differently. "Do you want to fetch the view that the upstream offers as an option, and if you want, which ones (meaning: there could be more than one replacement grafts to give different views)?"
And as an optional view, I would say it is perfectly Ok to fetch whichever view you want as a separate step after the initial clone.