From: Brian Foster Date: Thu, 05 Jul 2012 07:06:19 GMT Subject: Re: [Q] Branch aliases (synonyms)? Message-ID: <4406023.HK6z7GB5ye@laclwks004> In-Reply-To: <4417201.NtYkVMYjv0@laclwks004> On Wednesday 04-July-2012 00:31:40 Brian Foster wrote: > On Tuesday 03-July-2012 08:29:26 Michael Haggerty wrote: > > On 07/03/2012 03:40 PM, Brian Foster wrote: > > > On Tuesday 03-July-2012 05:23:29 Hallvard Breien Furuseth wrote: > > >> E.g. if it's hard to teach developers to switch > > >> from B to A, a hook which rejects pushes to B might help. > > > > > > [ ... ] the concern is about the > > > external users (clients who clone but never push) > > > becoming confused. [ ... ] > > > > Maybe create a new branch B (an orphan commit unconnected > > to the old branch B) with a single README file telling the > > person that from now on they should be using branch A. > > Hum.... This idea, at first glance, looks > extremely intriguing (with, perhaps, the minor > tweak there is also a ‘Makefile’ which shows > the ‘READ_ME’ and then always “fails” [ ... ]). Michael, Thanks for this idea! With my ‘Makefile’ tweak, the idea has caught fire, and is now the preferred solution. Whilst I have not yet finished updating my model to test it, it is extremely promising. cheers, -blf- -- Brian Foster Principal MTS, Software | La Ciotat, France Maxim Integrated Products | Web: http://www.maxim-ic.com/