From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6301 invoked from network); 9 Jan 2022 12:53:37 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 9 Jan 2022 12:53:37 -0000 Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 58c7c797; Sun, 9 Jan 2022 12:53:25 +0000 (UTC) Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [2a00:1450:4864:20::42f]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 647b6659 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 9 Jan 2022 12:53:23 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id q8so21403689wra.12 for ; Sun, 09 Jan 2022 04:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=pcXh80OFAWrxWpznXanwnSn/kIXHfmfGB0E5rNancNA=; b=PVggYZfToPK2cfR3onDQwLDubxamZrxXapD7YdgOddZKlsfHIUEDE8T09sxyDNIaF/ v8pnEIxvfQmHFgL9sKDyQYoFTuTTRULycmaB9V/2y+hrmjfRkmW68hxJRM7ym8ejL6GQ SSbqM721OeafWFNR6Iu1q7I9ZRt94Vbp48OelyFPfgXpXAmxgxhNZqXsEBmBkTIV5Ucj O3xzRFiYn3ill95kFKXvfK/KYmhQkLiiSJ9s/T+Sx7uaxxrhTVgn3ZNGf5TD3CFmeSnu qg0YuHUV421j1XxRKP0G+yc+z6nrSLiAYdzWCHMkqU++m77AymD20llVwws2td0/4b2p DrXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=pcXh80OFAWrxWpznXanwnSn/kIXHfmfGB0E5rNancNA=; b=cpLza8lD4AyRFqRolWhGVg5zoheo1DQVrn+aP19Mae4zGRC1sIWW6Xmie1fRIUpx6d e+wSWpiVlPRXrqanHsRVsZ8oRMVuMsNRHqGUIzsrNv4G2wCE1Y6hhFoN8g7rZltk1p0h 9msqJ+OxcumYxogiRg2E7O6FsTRhNcVQ+ki5b9pN44tO3xg9DdviH5ZLXfUBht3lgVWP IWWD/tYelPXFDdaQFjN+n0TUAkU0x+RfIZ7+Z3GUAExA5yi5DFEI9ToGv9G20Ev1Zj+g NYWD7aacofpuy0oQQCNWGNzFoKDhkYXKdydEXPbbnVeCfKaWtcximldhGDjyzfrP1kHa UJYw== X-Gm-Message-State: AOAM532frox8T+0eXrUQXNbUWyGjYMNrMDmZlyZpUH3mmyp6nkTd9KXg n9Z6aRvM/Mk5nOOlQcDB3rbqNI+ebFLngA== X-Google-Smtp-Source: ABdhPJxnMH1UV7Rbaa7jty22JF5eO5Uv6cmk5d+5b2zSXSsMUsoWC8kBfItxsNAye+F5NQ0r0qZgYg== X-Received: by 2002:a5d:584f:: with SMTP id i15mr63949131wrf.542.1641732803316; Sun, 09 Jan 2022 04:53:23 -0800 (PST) Return-Path: Received: from [192.168.178.20] (ipservice-092-209-148-073.092.209.pools.vodafone-ip.de. [92.209.148.73]) by smtp.gmail.com with ESMTPSA id h19sm3859613wmm.13.2022.01.09.04.53.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Jan 2022 04:53:22 -0800 (PST) Message-ID: <817460f2-2e3a-a385-76c4-685ce2c92700@gmail.com> Date: Sun, 9 Jan 2022 13:53:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH] use main as default branch instead of master Content-Language: en-US To: cgit@lists.zx2c4.com References: <20220109014545.17815-1-nilix@nilfm.cc> <20220109030454.r2gxxox4hzz5uf6g@feather> From: =?UTF-8?Q?Jan_Dr=c3=b6gehoff?= In-Reply-To: <20220109030454.r2gxxox4hzz5uf6g@feather> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" > Replacing one hard coded value with another is really not helpful. > Git itself solves this locally with init.defaultBranch in its config. > > If the corresponding option is unset you are helpfully told to choose > one. That is however not simply a matter of s/master/main/ but the > following: > >> Names commonly chosen instead of 'master' are 'main', 'trunk' and >> 'development'. > As you can see, multiple "common" options. At the moment I think its better to simply stay with 'master' since that is what Git uses as the default at the moment even if multiple git hosting sites have decided to adopt main > There's work ongoing in git to make this more streamlined, > last example I know being > > commit e06c9e1df28e04bbf013840c6c50ce1be41b9583 > Author: Thomas Weißschuh > Date: Wed Nov 3 21:17:02 2021 +0100 > > var: add GIT_DEFAULT_BRANCH variable. > > There's also similar efforts that would allow querying a remote. > > So I'd suggest you wait for upstream to figure it out first, rather than > blindly substituting the term which would break existing setup for no > real reason.