From nobody Sat Sep 9 19:36:57 2023 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rjjt51Qw0z4sxNQ for ; Sat, 9 Sep 2023 19:37:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rjjt46BVQz3Gng for ; Sat, 9 Sep 2023 19:37:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694288233; bh=xyosDV9/lyjsCqw6zVowGsHNpQUYSQPW0DkimV/AyKs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=shqjGn+NL95prGq+6K2ErUB9PcdcOdUTjV8uvOAvWA3N0ATrBZZj9r10cA0wMGQ0MUivBM6+Lnult+78C2ivy3e50apvWd8hCvQtoImXokKV/dgdlOKeAsYihyKwsNHCf9tMwre/rBiL5sem5Zl2qHD9K0hVna3tU3NNw6xoHq/chtX1F6W3/d4KqzKc3SnFoBYYzMAqKdWCXPypQ5OX08MwfA2StmA967mdYePyJL2L15IMdQ12x2GKaYVzXyg3C/CF329qBJNLsdsmQvq9Y5qm7K/Df5F76cDfHR76oin1MPFEHmW7oYEt8wuP6hLSn4Q+pfNdsr/OkZa3J+92+g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694288233; bh=109oa9wJxhgwk0gJdAcgTZuG+YBEJXG9darVJeh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ucJVBi5o XMOyA7svQwoXp.KH.kK0ubjCz21tq2xO8k1Gm8Yf20dH3qzpE6aijRsaiS6h0HQ_nukRDZnwRl5r uabCVe0wSunspWM_wIgcdEykkhUCOracm.9L07RVSQs.nY97N.uCb.0ds5n9lSWnu.HWjL9ckrfV plhDYHjYXTMZDlyDxacVJcjTGdmXYQlKAgKs152Mkh4peqMesmGD4JTZNjEK2WnrQ4iS37_5z0l7 EZUPmwwR.1MicKUNnlYyLlZK_0brb2mS_xG0XkGr_BAbSYIjQdigLjf3rzbwnKoCuTW6JKHeHoy5 LAFDgGDjS5x0nur14QfXiP1_Zf1nTXBY2Gvz6F.fTF.CWV.AbPtFtTFHE2EYIDfTZmDWawLV48YZ 9WcEdFgWk35v293Ok8jrsDyPmc3x9OhTO3XBKiat4uUMljPoGdMbujnJCRo6LMQXANG37KqwWczf LqExMh_9XRtvyxRxRcrDunAhtj8cL9deThpy6eSUfmK5o4JlxwLzXVFq9sX9K4kkPF5QPM1JDV0w Ju8jIAGpY0A8rnMr51KZ9QDdCQSkevGRUYWaCUL3T9lUzGbtJrtXoyzsLaqjZ2pBGjg1x7xXlJxs PENjE X-Sonic-MF: X-Sonic-ID: 7a7c53ee-8c05-41db-888e-4d78c4ee8b99 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 9 Sep 2023 19:37:13 +0000 Received: by hermes--production-bf1-865889d799-cgv22 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 68dcf7f0ee307378b7f4ee3dd4710d58; Sat, 09 Sep 2023 19:37:10 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Working with forks From: Mark Millard In-Reply-To: Date: Sat, 9 Sep 2023 12:36:57 -0700 Cc: freebsd-git Content-Transfer-Encoding: quoted-printable Message-Id: <68EA9009-6956-4EF0-B3B6-0008BE076060@yahoo.com> References: <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> To: Graham Perrin X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4Rjjt46BVQz3Gng On Sep 9, 2023, at 10:34, Graham Perrin wrote: > On 08/09/2023 05:37, Warner Losh wrote: >=20 >> =E2=80=A6 I also never have a /usr/src on any of my systems. =E2=80=A6 >=20 > I learnt to restrict myself to /usr/doc, /usr/ports, and /usr/src = after long ago confusion about where things normally reside. >=20 > The 'git -C' habit sort of forces me to think twice about which tree I = am (or should be) working with before entering any command. >=20 I prefer to submit kernel problems based on having reproduced an issue via use of, say, an official snapshot build's kernel when I can. I reserve /usr/src/ for having such a snapshot's source code where the snapshot's debug information expects it to be. The /usr/src/ is not populated via git for this but via extracting from files obtained via matches to the pattern: http://ftp3.freebsd.org/pub/FreeBSD/snapshots/*/15.0-CURRENT/src.txz /usr/src/ is empty unless I'm dealing with such snapshot testing at the time. For my own builds I have and use a worktree /usr/main-src for main [so: 15] activity, for example. So the debug information for my own builds does not reference /usr/src/ . As part of this way of working I use git -C all the time. The habit was established back when I was actively also building and installing stable/13 and releng/13.? in addition to main. I've kept the conventions's general structure, such that the pattern for stable/ and releng/ based activity is still known. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Sep 10 15:58:47 2023 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkDzc2L4tz4sqTm for ; Sun, 10 Sep 2023 15:58:52 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkDzZ65MLz3K06 for ; Sun, 10 Sep 2023 15:58:50 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=VZPqh8Gl; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-99bc9e3cbf1so779641866b.0 for ; Sun, 10 Sep 2023 08:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694361529; x=1694966329; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:to:from:content-language :references:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=KnEq8hP0h3lrswyH8qHBLhrTEVZSIHN5ZhxyIk2q43A=; b=VZPqh8GlQwQZuH3VAdM2OQ/lG9VYSQoUUPMiAFCoi6xP+b3VkQNv8TdTddCszFRHBK jGLFi+nv9D0VFxgnNcL3ICNl3+qXDnp6eRuLWXghhcFykK90UuqjKmDM2EXwNq7dhPPO hOBv4FHCidFn5H5Lx8gzcdkHHw/72F8+HBtmJOZqhk2juhz6gMsfYCxK9NFZjzqvUx2r HSYs1z8lHkcf2ooxM5qac5pyeLRGp46uisa1rUcpswaWk+QsTgHr2LFcmKL2LPX95rx/ Bp+UmhBM4sCI3eXgwGZMYt2vc1VzwXJBO3N5pjPh+TX3/AbJaEepxr7BYHpP3oTF1bY8 Il3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694361529; x=1694966329; h=content-transfer-encoding:in-reply-to:to:from:content-language :references:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KnEq8hP0h3lrswyH8qHBLhrTEVZSIHN5ZhxyIk2q43A=; b=jIBaWJ+uQ1pUZE1lbHp5x12OKSajsXRr066WhwTXo/T3AjEYat8YmZGWFp6FWRjx7X 6Pd0NoNHOpcltHUuQ+Qii2ElGIlcZXpFVuhevEL59QALcR4aRQe6niwPivvSDLoVm70t owpPMk8Uj7Ct+uO4VImqz1F6JhwF0DYvQnDEbUpqmlBL560hvIkB4Kwmvk+iJ1pSUt7a qe6Ye2ZPaMscTzpmbtU2+GDY29sOi8l2D5MywvKhkR/WvM0Y0bX6NkoIEC7Rbe7vM7gN G/9pl2G7cxnggr6jD4MURKGMd2UXTkKaHCHwa669NCJ2yfYMeje2ejlQRUQqFKn0iDUN h6zA== X-Gm-Message-State: AOJu0Yy2eK1Q20BYU2O2foUcIEpLXGGLT3afAOPgfMBPumW3WX5AWdR3 WffCBw16RLp8OeYqdGlF7Zg0RiKusxPfNw== X-Google-Smtp-Source: AGHT+IHJTsXa8cN76OzXAs+iFcvoAeLG2hRzzahbcWRRATTTjlZrT73rlBT2cHjjH2U5VkwDDTF9Gw== X-Received: by 2002:a17:907:d403:b0:9aa:f7f:e276 with SMTP id vi3-20020a170907d40300b009aa0f7fe276mr5265583ejc.38.1694361529159; Sun, 10 Sep 2023 08:58:49 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id r18-20020aa7cfd2000000b00527e7087d5dsm3442198edy.15.2023.09.10.08.58.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Sep 2023 08:58:48 -0700 (PDT) Message-ID: <802423f4-a29b-74ae-f2cc-ce8f91dbf373@gmail.com> Date: Sun, 10 Sep 2023 16:58:47 +0100 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Working with forks: git-checkout(1) options -b and -t References: <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> Content-Language: en-US From: Graham Perrin To: freebsd-git In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-git@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RkDzZ65MLz3K06 On 08/09/2023 03:51, Warner Losh wrote: > … Or 'git checkout -t jlduran/nanobsd-embedded-use-makefs' … A doc tree example, now. Colour me confused. % git -C /usr/doc remote add outpaddling https://github.com/outpaddling/freebsd-doc.git % git -C /usr/doc checkout -b outpaddling-main --track outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -b outpaddling-main --track outpaddling fatal: 'outpaddling' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -b outpaddling-main -t outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -t outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'main' cannot be created from it % there's only one branch, main. From nobody Sun Sep 10 16:18:34 2023 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkFQf05v9z4s4YN for ; Sun, 10 Sep 2023 16:18:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkFQd2pmzz3TYB for ; Sun, 10 Sep 2023 16:18:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694362727; bh=wxWGNw1NiZzh+qo4W9txKkAQU0jt9f2/f7MQsknUjrY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=SSUteZI8Y0eCQaW1WU30Dwhe/0+yeQxBuhCm8QflTbXav/ApWh+RXAqqJYfCr+qlyoPutHFHDC+VjY30Nc4VOQQ6ZIHcc7U42RB7pEKDs8wJfDKajIG7f3NnlAypqW2TxQg7UdKmylqBilDjip+Diu4+R95ED6c1mAd1ZwSsWG4XOPXEjjlVegQoHwiUgpsmvMy2ixlMxnx9leacY5RFuSWk9H6DkGTXbW62Xnd6zvdZGpleIEKs+dDOLUDscqnTbmh2Z1ex1aA3y6AxIN6JJ7TsqpSDxPK1tFBSEZ8rFfdKYj2vck0JcXvGmpHLlI6pONoJ2+NWDu5s3zVaAUb8UQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694362727; bh=SOI+94P0ATlQ4NrjBjybeJux/FW6UIjX2J7PwrohZ2c=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=NC8l6I1a4PvpUxlMc7rls14bun1VvhoMoq4ejicIBNQkGPLaXWN8JhqiKwt3xeI8mccB779/jXZtIEJ5LkYRDLX6AIbHaLt8ynWrQMUBXWV3rBN9TyNoWauysLmQJSDb8aeM0vCQCLNMxNu48eqo3AtHoyXubqd6uWN8fQ70XdP3Wu6ohH66kEDqqFsJOLRoesUZ/R8DB9U0NTBX0iQnVER47UR7c15CG0NVw3Ol8rMIa6FG4UjDwOEiBqOkG9YlNphPG/3hiKdg2guXlGQlnuZJ6FkTm2+AMdDL12CvbDegvMnP5yWEaUULLe+WY7o5rlTrNQCZjYTz3N+wCNLaRg== X-YMail-OSG: 4Kz_Ho4VM1nq8fhta1IXz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O1nMWBMxOYIusV7gnVH6f4K3n34NNgNfRSWqUG XiHIm0aacJO48APe.XeVoYB6IqpqtxKtcf6F2WXP7doaW3Qx_92qgWZncSh6n8QEB84B7.38cO0Z 0P8_ecVT6M_mZnysggvhNTuM63zHdqGA5YyeehpFNDKB8yodic7birzK4HiQBmnW2wmVWvxQwx47 1tVPa X-Sonic-MF: X-Sonic-ID: 17f83243-fd21-4821-b015-ce9effce5b00 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 10 Sep 2023 16:18:47 +0000 Received: by hermes--production-ne1-7b767b77cc-6vm8t (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID db961f912387fba8aec3409a5d135c45; Sun, 10 Sep 2023 16:18:45 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Working with forks: git-checkout(1) options -b and -t From: Mark Millard In-Reply-To: <802423f4-a29b-74ae-f2cc-ce8f91dbf373@gmail.com> Date: Sun, 10 Sep 2023 09:18:34 -0700 Cc: freebsd-git Content-Transfer-Encoding: quoted-printable Message-Id: <5701B98C-0075-4966-9D93-C5E4A01D628D@yahoo.com> References: <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> <802423f4-a29b-74ae-f2cc-ce8f91dbf373@gmail.com> To: Graham Perrin X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4RkFQd2pmzz3TYB On Sep 10, 2023, at 08:58, Graham Perrin wrote: On 08/09/2023 03:51, Warner Losh wrote: > =E2=80=A6 Or 'git checkout -t jlduran/nanobsd-embedded-use-makefs' =E2=80= =A6 > A doc tree example, now. Colour me confused. >=20 > % git -C /usr/doc remote add outpaddling = https://github.com/outpaddling/freebsd-doc.git > % git -C /usr/doc checkout -b outpaddling-main --track = outpaddling/main > fatal: 'outpaddling/main' is not a commit and a branch = 'outpaddling-main' cannot be created from it > % git -C /usr/doc checkout -b outpaddling-main --track outpaddling > fatal: 'outpaddling' is not a commit and a branch 'outpaddling-main' = cannot be created from it > % git -C /usr/doc checkout -b outpaddling-main -t outpaddling/main > fatal: 'outpaddling/main' is not a commit and a branch = 'outpaddling-main' cannot be created from it > % git -C /usr/doc checkout -t outpaddling/main > fatal: 'outpaddling/main' is not a commit and a branch 'main' cannot = be created from it > % >=20 > there's only one = branch, main. >=20 =46rom man git-remote: add Add a remote named for the repository at . The = command git fetch can then be used to create and update remote-tracking branches /. So it looks like the next step after "git -C /usr/doc remote add . . ." = is: % git -C /usr/doc fetch outpaddling Prior to that no interaction with the remote has happened for the local git to have found what branches exist and the like. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Sep 10 18:00:11 2023 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkHgf65wtz4t2Zd for ; Sun, 10 Sep 2023 18:00:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkHgf4DNfz4XyS for ; Sun, 10 Sep 2023 18:00:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9a21b6d105cso465870666b.3 for ; Sun, 10 Sep 2023 11:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694368813; x=1694973613; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XCEgS/Y47P8DgHgP9xr/TKpQ0zSNaJGkmytjKR6NOo8=; b=UhnixQPwCgJvqt42jO9tV9tPXmYYry+PZOujymxrzTkyfl5Ql+hGwiAN7NclscLzHz KvIvbycoL3NXTwufdBf8oE0uNzUnE5hwHYTgwdOnZT96QDml2b09GywR/Sy8S9b0ttAS S9SYBNK8WYYbnU6wqbsQS1XvA7XFpIuR6zQIDmbERPeTQL+6icWhVmfpmaxeXRG9lgwz D8iTI0vJUWpV4/N9t/E2wabzh4cUP304c+WZdgZG8W6c5MHruzoa+Xi8PJJ7smunRcZ/ MXf7oqVs6euSuCCzwLFuvYVx3q/utFSed49DXsI63+QgkE7wh/0D5QUq2RQRsOWmsKTK A1oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694368813; x=1694973613; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XCEgS/Y47P8DgHgP9xr/TKpQ0zSNaJGkmytjKR6NOo8=; b=Ehap2TlRFQFqBNeoMG3mSupjwci7e7H6GkO2PPdrHp4ewmLdwlNPg5em5zzuHDF4IM uTzpmGQWFbBm4v6aGnmVcTNGxkYNXDywtRaVAzdG0teNB/UogE35k/OXNdwmZT5UJ5QP 6ftYi6oQs0c4AEiJIGiVL47cpgam1wmc/ltcoOoEpsiK0KlpOqEyzW17VDg/u4ByDAaG Wbwub70wzN5l2LSY/fLeorF4OYI0o6Q54Q6xB0mVOfe23aAQURPwuuNcdcN0ZXRmnQUK 09lDBqLLYiQ3CH/I1tbyrA/2ki+XCTz+Z5L/kP56pvKyjl3un4Vo12DBLvixyhW7aLkY j+qQ== X-Gm-Message-State: AOJu0YwLgZF4e+jssct4+fuuQ5THnSV1cIXGeKE6RiYUWEz4BgPFoFwN yiYIJFBMnmCxt0MMyOTk/1k= X-Google-Smtp-Source: AGHT+IEW9XSL7RA1lgWNzJXJviBSnSUI7HlPohahxcU28UEizCI2QVJQt47bBvgfPfutDOarcRUxKw== X-Received: by 2002:a17:906:5194:b0:9a2:1b48:7906 with SMTP id y20-20020a170906519400b009a21b487906mr6914439ejk.34.1694368812614; Sun, 10 Sep 2023 11:00:12 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id hb5-20020a170906b88500b009828e26e519sm4041269ejb.122.2023.09.10.11.00.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Sep 2023 11:00:11 -0700 (PDT) Message-ID: <9729a887-f5dc-577e-dfe5-ca6e914bd06b@gmail.com> Date: Sun, 10 Sep 2023 19:00:11 +0100 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: Working with forks: git-checkout(1) options -b and -t Content-Language: en-US To: Mark Millard Cc: freebsd-git References: <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> <802423f4-a29b-74ae-f2cc-ce8f91dbf373@gmail.com> <5701B98C-0075-4966-9D93-C5E4A01D628D@yahoo.com> From: Graham Perrin In-Reply-To: <5701B98C-0075-4966-9D93-C5E4A01D628D@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4RkHgf4DNfz4XyS On 10/09/2023 17:18, Mark Millard wrote: > … > > % git -C /usr/doc fetch outpaddling > > Prior to that no interaction with the remote has happened for > the local git to have found what branches exist and the like. Facepalm! Thanks, Mark.