Re: [RFC] origin link for cherry-pick and revert
- From
A Large Angry SCM <gitzilla@gmail.com>
- Date
- Sep 12, 2008, 00:30 UTC
- Message-ID
- <48C9B830.2060903@gmail.com>
- In-Reply-To
- <20080911202228.GG1451@cuci.nl>
Stephen R. van den Berg wrote:
Show 13 quoted lines
> Jakub Narebski wrote: >> Stephen R. van den Berg wrote: >>> Well, the principle of least surprise dictates that they should be kept >>> by gc as described above, however... >>> I can envision an option to gc say "--drop-weak-links" which does >>> exactly what you describe. > >> Well, IIRC the need for this was one of the causes of "death" of 'prior' >> header link proposal... > > As I understood it, one of the causes of death of the "prior" link > proposal was that it was unclear if it pulled in the linked-to commits > upon fetch. In the "origin" case, the default is *not* to fetch them.
And that's WRONG. Both prior and origin must fetch them if they're reference in the header.