From unknown Mon Jun 23 11:27:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#64009] [PATCH] guix: git: Set initial branch name for git-fetch. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jun 2023 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64009 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64009@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168650966314703 (code B ref -1); Sun, 11 Jun 2023 18:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jun 2023 18:54:23 +0000 Received: from localhost ([127.0.0.1]:37740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8QCl-0003p5-5O for submit@debbugs.gnu.org; Sun, 11 Jun 2023 14:54:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:48850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8QCi-0003ox-Q5 for submit@debbugs.gnu.org; Sun, 11 Jun 2023 14:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8QCf-0001mz-AA for guix-patches@gnu.org; Sun, 11 Jun 2023 14:54:18 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8QCd-0001vv-Dr for guix-patches@gnu.org; Sun, 11 Jun 2023 14:54:17 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f735259fa0so36340315e9.1 for ; Sun, 11 Jun 2023 11:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686509652; x=1689101652; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=efrEGCEXMHXty58MKBFWKwaXs9jjlo/ZPoO9RWI5j/8=; b=GO3N60nixD0fOzlAVGbOIf4a0njs7XGAxGSrYZKaeCqymz20pdJj9C1Oycbh7EE8M1 trgzbWul8ITvDN7HAF/4Acu2BAUefXLkFYD7eK1LRQuVImUtcFzMvpk/PwzWh34rD74v Aj86CO/GGvKFhv6+Bjerq/1JveQIEnaV53qQHhbaP88WakTdgVdabD0FnizeTEFpVNXA O2oxp7sIyBe5f5qp349EYoNPaaSPaNhcTAJeqzOC92ihTG9uXtOYFuic7t0Z3oUJisOE CpDhT4tUE9hTJq8epI665igjSLCnwPm3l4fUvg4BeE7izpeVZdGgc9jrSA4RYY3jMapT SIyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686509652; x=1689101652; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=efrEGCEXMHXty58MKBFWKwaXs9jjlo/ZPoO9RWI5j/8=; b=fwNh6Oac0w+UGHi7VptPUYvkmlaiHx/rVqKqw6p1uoZ8HMLhinCZWUDAVDiIO3WF62 u3viyz3tQDQF047rNq8ES6pyV+1KFjcZrEc1K/bSO7+RwdoIfBz5XXw1mU4j2H3ZZaZS 2nYaXhnB656+Ma7Ne33KwDTCCXM7wuViX5wt/7DfxaMwRb7v/dYEerbPQQSncRvPXkZr cZt+htm/mFZArEqD8P8cyny+FMYnX7PKq48UTgy1HDQVHhM3StnABmBfQBB36wsA9iR5 /VrHQ+Uy6GHQ4WP6289J83fl19hczphplXSPfeq1IMgF5vU20BjhWoF4qYheCnHL1gfH JKOA== X-Gm-Message-State: AC+VfDxt3jqVz9HsxZmk1h18BIfvcI+HqZr5Tyenf+4w838z+z8yWb/2 6U1mIZNlaMftK57ENjiAdivC2svA9Joj6Q== X-Google-Smtp-Source: ACHHUZ4lhYm5IeE7DCubnLJKOGoYHYmGco9MbcoqcNs3qPyHD9rekfUb0LeMsiTBFGmm+yznNmfLrg== X-Received: by 2002:a05:600c:a39f:b0:3f8:1b81:9e96 with SMTP id hn31-20020a05600ca39f00b003f81b819e96mr516573wmb.30.1686509651946; Sun, 11 Jun 2023 11:54:11 -0700 (PDT) Received: from localhost ([37.46.46.3]) by smtp.gmail.com with ESMTPSA id e17-20020a05600c219100b003f18b942338sm9172131wme.3.2023.06.11.11.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 11:54:11 -0700 (PDT) From: Efraim Flashner Date: Sun, 11 Jun 2023 21:54:12 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) This removes the 'hint' about choosing a branch name when creating a new git repository. * guix/build/git.scm (git-fetch): When running 'git init' add an initial branch name. --- guix/build/git.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/git.scm b/guix/build/git.scm index 669e38cd32..deda10fee8 100644 --- a/guix/build/git.scm +++ b/guix/build/git.scm @@ -52,7 +52,7 @@ (define* (git-fetch url commit directory (delete-file-recursively directory) #f)) (with-directory-excursion directory - (invoke git-command "init") + (invoke git-command "init" "--initial-branch=main") (invoke git-command "remote" "add" "origin" url) (if (zero? (system* git-command "fetch" "--depth" "1" "origin" commit)) (invoke git-command "checkout" "FETCH_HEAD") base-commit: 73fa2889895f35bcf0c41f1174413381fdd7ec2c -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted From unknown Mon Jun 23 11:27:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Efraim Flashner Subject: bug#64009: closed (Re: bug#64009: Acknowledgement ([PATCH] guix: git: Set initial branch name for git-fetch.)) Message-ID: References: X-Gnu-PR-Message: they-closed 64009 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 64009@debbugs.gnu.org Date: Thu, 06 Jul 2023 13:22:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1688649723-31528-1" This is a multi-part message in MIME format... ------------=_1688649723-31528-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64009: [PATCH] guix: git: Set initial branch name for git-fetch. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64009@debbugs.gnu.org. --=20 64009: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64009 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1688649723-31528-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64009-done) by debbugs.gnu.org; 6 Jul 2023 13:21:54 +0000 Received: from localhost ([127.0.0.1]:40394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHOvi-0008BV-3E for submit@debbugs.gnu.org; Thu, 06 Jul 2023 09:21:54 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:44421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHOvd-0008BE-9G for 64009-done@debbugs.gnu.org; Thu, 06 Jul 2023 09:21:53 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-3fbc6ab5ff5so7303195e9.1 for <64009-done@debbugs.gnu.org>; Thu, 06 Jul 2023 06:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688649703; x=1691241703; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=Srmv+wJi+3ANqVTnq2QGVHQeEzMMdZtOhVzHmd1pAqk=; b=iQrhLWr42vVygfXuk7+W7HRYBSVY3dTvaW1DGH8htlF0HZjtgidu+eyToxsmQ4PXBj V7K52jlbYpTrjVG9EdLw6N+rRsoSh5CyveZ4Mzaz0yTuQb16ARZBtJDIW/S+qmPsaOBF VfoiXx5/ZATw/djPwkpEJI8BaXPvIrIXqY4u4UCvl3aQ+sgEysoguETtYG9YaN8C+hZc 67/M8RjeroQdr/fsfqT2aiqyzOdffAeyDAlnOrfA+doP/UNBhsfxTQXu1ZDLr7ZADgwK 7i0Sej8bu4Uz3C7j56DZfHk9nQSF3pH9DMsVJy6xpME777+59NuMxLRDy4kbIaTD7k/j oSYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688649703; x=1691241703; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Srmv+wJi+3ANqVTnq2QGVHQeEzMMdZtOhVzHmd1pAqk=; b=QWkXkR5dEfr+A1c9MmiBnuICrjZCQmQOmlB4hnfetpyMppZ1OGQsAySofSFebJw0vW FAYvk5j3/Czz1VRJE3UltcDzfA3IJ/ItjPeOrLgK95WSUAhYri/HyQB5iTB3+K3TKcjz NFuXCeR19lXGGrJzNzupsIf7DaTXprp4OR80YtuEYsa1d8ZS4YHly2COADONDLYT7G/8 Brk7tCVRxjuqlEI/1yJczDiKbO9NmYINnp8VUnKq4kIUgaqDAQqhQNkjxwCH/VWMcIB4 +aaMEhqv/zcIf2ALH6H7NKVe5ONyxlRp3Q1LZ58P/acL9wM3rhDsT3AdtQcN4MrZw3ss lGoA== X-Gm-Message-State: ABy/qLbVezZiGA5tCNbtf/5UkvJWt6KL69GXwWbl+cdUkpH7Rx91JSAB f3OpiWDltThFWz1bCQ/FNLqE5Tw65m0VFw== X-Google-Smtp-Source: APBJJlHd1Lm8xfcM3k98CSkMGVphrNc+yVMoI1b8MeKgORE2mStgwAYhKRt8hp6gg2a11m52aINAUA== X-Received: by 2002:a05:600c:3658:b0:3fa:8cd8:9743 with SMTP id y24-20020a05600c365800b003fa8cd89743mr1421182wmq.19.1688649703157; Thu, 06 Jul 2023 06:21:43 -0700 (PDT) Received: from localhost ([2a02:ed3:914:7600:b62e:99ff:fef0:7bc0]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c470a00b003f9b3829269sm6695547wmo.2.2023.07.06.06.21.41 for <64009-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 06:21:42 -0700 (PDT) Date: Thu, 6 Jul 2023 16:21:40 +0300 From: Efraim Flashner To: 64009-done@debbugs.gnu.org Subject: Re: bug#64009: Acknowledgement ([PATCH] guix: git: Set initial branch name for git-fetch.) Message-ID: Mail-Followup-To: Efraim Flashner , 64009-done@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H73LNcCrb6UTkQqY" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 64009-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --H73LNcCrb6UTkQqY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patch pushed --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --H73LNcCrb6UTkQqY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmSmv+EACgkQQarn3Mo9 g1HRExAArEWIIcE5PRRtCxKNVDqhJJMxLHqjoNWP9ocJK1vtuaA05OywR8gdPcLt fi6TmAp6UiNgZtZ/x5qePpYcH4hE4plcgPYO6REI6ktIWKHNfL84sI0vhJOr4/el 2rFeWh0PY/vB5WU8XZnKuSZy7nCgad9JhKlMnSrDJUo0G+FwSf28Y/hIKqjdChL8 t6yHSBRu1+sonmeimiOdfgbYhPmKWU85COzLDNSTzNT0gV0Jj+fU4IGdGQz6KdzL UJ7YKQZe+48ioshaCR2WD46RRzW6IWXj6XykEOr68BJpP7BA1UDHtM4FTdZb288v yHFInD8tCC1Mph1mMq8RPzgvP3w2hZ0uBOAc6EF/L/HcJA9zFXApXoLKVnIueHf8 hH1upAEm3J9AC8PDhNIEEN0SQxs6UyqaM4lc74f305qjOh22WOtUhuBz4zvxGFHo PtlJru2qE3Q8g8r7kZnEPoCOP2UNbgwHqDvO5RRgdm2rvFDQ+aiMdA7HuhQFU0uT fN6Jg31zVD31KEPv5oWHqFvnDfSqZYLlsCvmxecdfrRzNxvVPYAk0sGCCV3cPu2r a/+CHK+W0hXs/9CNg2rsqXbuGr2HYUx2LJdqYiYJq3uJwQ9vA/+jwoD8Ubrw+QVY ZEs3kXvyIQrVO+4h/O4G2XDrVbmsqpu+s6BCCKlg4jxVI8FvXIY= =zzw+ -----END PGP SIGNATURE----- --H73LNcCrb6UTkQqY-- ------------=_1688649723-31528-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jun 2023 18:54:23 +0000 Received: from localhost ([127.0.0.1]:37740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8QCl-0003p5-5O for submit@debbugs.gnu.org; Sun, 11 Jun 2023 14:54:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:48850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8QCi-0003ox-Q5 for submit@debbugs.gnu.org; Sun, 11 Jun 2023 14:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8QCf-0001mz-AA for guix-patches@gnu.org; Sun, 11 Jun 2023 14:54:18 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8QCd-0001vv-Dr for guix-patches@gnu.org; Sun, 11 Jun 2023 14:54:17 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f735259fa0so36340315e9.1 for ; Sun, 11 Jun 2023 11:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686509652; x=1689101652; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=efrEGCEXMHXty58MKBFWKwaXs9jjlo/ZPoO9RWI5j/8=; b=GO3N60nixD0fOzlAVGbOIf4a0njs7XGAxGSrYZKaeCqymz20pdJj9C1Oycbh7EE8M1 trgzbWul8ITvDN7HAF/4Acu2BAUefXLkFYD7eK1LRQuVImUtcFzMvpk/PwzWh34rD74v Aj86CO/GGvKFhv6+Bjerq/1JveQIEnaV53qQHhbaP88WakTdgVdabD0FnizeTEFpVNXA O2oxp7sIyBe5f5qp349EYoNPaaSPaNhcTAJeqzOC92ihTG9uXtOYFuic7t0Z3oUJisOE CpDhT4tUE9hTJq8epI665igjSLCnwPm3l4fUvg4BeE7izpeVZdGgc9jrSA4RYY3jMapT SIyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686509652; x=1689101652; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=efrEGCEXMHXty58MKBFWKwaXs9jjlo/ZPoO9RWI5j/8=; b=fwNh6Oac0w+UGHi7VptPUYvkmlaiHx/rVqKqw6p1uoZ8HMLhinCZWUDAVDiIO3WF62 u3viyz3tQDQF047rNq8ES6pyV+1KFjcZrEc1K/bSO7+RwdoIfBz5XXw1mU4j2H3ZZaZS 2nYaXhnB656+Ma7Ne33KwDTCCXM7wuViX5wt/7DfxaMwRb7v/dYEerbPQQSncRvPXkZr cZt+htm/mFZArEqD8P8cyny+FMYnX7PKq48UTgy1HDQVHhM3StnABmBfQBB36wsA9iR5 /VrHQ+Uy6GHQ4WP6289J83fl19hczphplXSPfeq1IMgF5vU20BjhWoF4qYheCnHL1gfH JKOA== X-Gm-Message-State: AC+VfDxt3jqVz9HsxZmk1h18BIfvcI+HqZr5Tyenf+4w838z+z8yWb/2 6U1mIZNlaMftK57ENjiAdivC2svA9Joj6Q== X-Google-Smtp-Source: ACHHUZ4lhYm5IeE7DCubnLJKOGoYHYmGco9MbcoqcNs3qPyHD9rekfUb0LeMsiTBFGmm+yznNmfLrg== X-Received: by 2002:a05:600c:a39f:b0:3f8:1b81:9e96 with SMTP id hn31-20020a05600ca39f00b003f81b819e96mr516573wmb.30.1686509651946; Sun, 11 Jun 2023 11:54:11 -0700 (PDT) Received: from localhost ([37.46.46.3]) by smtp.gmail.com with ESMTPSA id e17-20020a05600c219100b003f18b942338sm9172131wme.3.2023.06.11.11.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 11:54:11 -0700 (PDT) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] guix: git: Set initial branch name for git-fetch. Date: Sun, 11 Jun 2023 21:54:12 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) This removes the 'hint' about choosing a branch name when creating a new git repository. * guix/build/git.scm (git-fetch): When running 'git init' add an initial branch name. --- guix/build/git.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/git.scm b/guix/build/git.scm index 669e38cd32..deda10fee8 100644 --- a/guix/build/git.scm +++ b/guix/build/git.scm @@ -52,7 +52,7 @@ (define* (git-fetch url commit directory (delete-file-recursively directory) #f)) (with-directory-excursion directory - (invoke git-command "init") + (invoke git-command "init" "--initial-branch=main") (invoke git-command "remote" "add" "origin" url) (if (zero? (system* git-command "fetch" "--depth" "1" "origin" commit)) (invoke git-command "checkout" "FETCH_HEAD") base-commit: 73fa2889895f35bcf0c41f1174413381fdd7ec2c -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted ------------=_1688649723-31528-1--