buildbot users try branch builders

Andreas Schwab schwab@suse.de
Wed Jun 22 07:30:22 GMT 2022


On Jun 22 2022, Jan Beulich via Binutils wrote:

> release branches. Hence in .git/config
>
> 	fetch = +refs/heads/*:refs/remotes/origin/*
>
> is too wide while limiting to just master is too narrow.

With the latest git version, you can have negative refspecs.

           If a refspec is prefixed by ^, it will be interpreted as a negative
           refspec. Rather than specifying which refs to fetch or which local
           refs to update, such a refspec will instead specify refs to
           exclude. A ref will be considered to match if it matches at least
           one positive refspec, and does not match any negative refspec.
           Negative refspecs can be useful to restrict the scope of a pattern
           refspec so that it will not include specific refs. Negative
           refspecs can themselves be pattern refspecs. However, they may only
           contain a <src> and do not specify a <dst>. Fully spelled out hex
           object names are also not supported.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Gdb mailing list