From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 34C073834F21; Wed, 22 Jun 2022 07:30:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 34C073834F21 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 5293C1F9FC; Wed, 22 Jun 2022 07:30:23 +0000 (UTC) Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 0F5442C141; Wed, 22 Jun 2022 07:30:22 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 92395444E8D; Wed, 22 Jun 2022 09:30:22 +0200 (CEST) From: Andreas Schwab To: Jan Beulich via Binutils Cc: Mark Wielaard , Jan Beulich , gdb@sourceware.org, buildbot@sourceware.org, Thomas Fitzsimmons , fche@redhat.com Subject: Re: buildbot users try branch builders References: X-Yow: Life is selling REVOLUTIONARY HAIR PRODUCTS! Date: Wed, 22 Jun 2022 09:30:22 +0200 In-Reply-To: (Jan Beulich via Binutils's message of "Wed, 22 Jun 2022 08:32:34 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2022 07:30:25 -0000 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 and do not specify a . 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."