This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Moving to git
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Jeff Law <law at redhat dot com>, "gcc\ at gnu dot org" <gcc at gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 21 Aug 2015 16:38:14 +0200
- Subject: Re: Moving to git
- Authentication-results: sourceware.org; auth=none
- References: <55D61512 dot 8010002 at redhat dot com> <55D61B23 dot 3000309 at redhat dot com> <55D63403 dot 4000603 at redhat dot com> <CAFiYyc0MBF3SFa_UOvSK3YhTWWWSn4Q0J=P6TvedaC5pkd7NCg at mail dot gmail dot com> <55D72F12 dot 3060502 at redhat dot com>
Jason Merrill <jason@redhat.com> writes:
> On 08/21/2015 04:26 AM, Richard Biener wrote:
>> On Thu, Aug 20, 2015 at 10:09 PM, Jason Merrill <jason@redhat.com> wrote:
>>>> ISTM that within that namespace, folks ought to have the freedom to use
>>>> whatever works for them. If folks want to create a transient branch,
>>>> push-rebase-push on that branch, then later remove it, I tend to think,
>>>> why not let them.
>>>
>>> Makes sense.
>>
>> Well, I think that all public branches should follow the trunk model - if only
>> to make merging a dev branch to trunk possible without introducing messy
>> history.
>
> All shared branches, yes, but I think personal branches can be more
> volatile.
>
>> Can we limit the namespace one can create branches in? Like force all
>> branches created by $user to be in namespace $user?
git will create new namespaces for its own purpose in the future. If
you allow arbitrarily named namespaces clashes will happen.
>> So require some super-powers to create a toplevel branch?
>
> We can.
>
>> And make [user branches] not automatically pulled?
>
> We can't control what 'git clone' pulls by default.
close pulls everything below refs/heads by default.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."