Re: [Q] Branch aliases (synonyms)?
On Wednesday 04-July-2012 00:31:40 Brian Foster wrote:
Show 18 quoted lines
> 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/