git branches

Richard Earnshaw Richard.Earnshaw@arm.com
Wed May 13 12:12:55 GMT 2026


On 13/05/2026 13:08, Richard Earnshaw (foss) wrote:
> On 12/05/2026 17:03, Jan Beulich wrote:
>> Hello,
>>
>> to limit the volume of stuff that needs fetching, I'm deliberately having
>>
>> 	fetch = ^refs/heads/users/*
>>
>> in my .git/config. However, recently an insn-4-byte-align branch has
>> appeared at the top level, and a little earlier there also was a new
>> upstream/users/nalcock/prev/road-to-ctfv4. Looking at "git branch -a" I'm
>> also observing quite a few more such branches which apparently weren't
>> touched in a long time.
>>
>> Could we make it a goal to keep the top level of origin/ tidy, i.e. having
>> only the "official" branches there, and have everything else under users/
>> (and, if necessary, a limited set of other easy to cover sub-spaces)?
>>
>> Thanks, Jan
> 
> GCC uses the adacore hooks to limit branches to specific namespaces.  Perhaps we should add something similar for binutils.

Or we could just say: if you want private branches use the sourceware forge.  Users can then create their own clones of https://forge.sourceware.org/binutils-gdb/binutils-gdb-mirror for personal stuff.


R.


More information about the Binutils mailing list