From nobody Sat Dec 03 02:58:43 2022
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 4NPDz94zCMz4jDGn
for ; Sat, 3 Dec 2022 02:58:45 +0000 (UTC)
(envelope-from grahamperrin@freebsd.org)
Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
client-signature RSA-PSS (4096 bits) client-digest SHA256)
(Client CN "smtp.freebsd.org", Issuer "R3" (verified OK))
by mx1.freebsd.org (Postfix) with ESMTPS id 4NPDz94PtVz3QNW
for ; Sat, 3 Dec 2022 02:58:45 +0000 (UTC)
(envelope-from grahamperrin@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1670036325;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=9YkCINySPJI16wmiCjfGrOHfrHmHQyf9ZHh9N/QGoSI=;
b=OI7t6bQC15jLctB6Utqt4/Y1Q/EgEa//mIHz/NZ64qBSZ0mj8wRaa149d31wCn8Z2zZpx3
f4NFEMop2Im4h2i8yOpIxXs+89pPwPCfIVXvu4GI4ey0QUfP2xI2W5IhuglfkrPAIjIzsD
KrZsX4joFFZf+vlbWP0nwzS9i3ccbdAgNTXyozDhSwuNulhHaYxCoL6KJsepKC+HlX4/Nd
WThr+cVUV9V6bP3vOhdGB/3obLmKD3AEfwR+8WfWI7lTyTZSGHwfop6kP+q231tm2Gu9la
7PwhuvoL6+Xhyi9BsCi9Q6adHAR6m5aOob8h+Lx25uCZUGkBg+NwdVgXxkOg2g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
s=dkim; t=1670036325;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=9YkCINySPJI16wmiCjfGrOHfrHmHQyf9ZHh9N/QGoSI=;
b=x05kftoDBXz1Ztdh08W9ygnpKUmUSNQsjWCKYbj9+7IIG+7kyduZVsn91txx19VX96QKmg
LSOnWfFsmCWRQ3M8BP+LiZIdEi+E1hQKIM1/v3Mf9qeuY/W+hoSY3EYUqTp5L1Mai5h/RY
Cx6DlkE2xTLYxytyOfFiGmt2dhDNoYwTLs4sbEVxO/nCQlvcR24wZtOPyayB87+lS+SYyg
hWNzp17gq1OPXm92YYT+DnocKMbaEv7w2OQO6VApK1qagzDAGWHuGAGoVdAIIyMlV/Tb5s
ibh1dCTslqoslHRGpVW/Dvar2BEvW4+srgqQX0vfYTN4E0Zof8kxBeNTW5hAFg==
ARC-Authentication-Results: i=1;
mx1.freebsd.org;
none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670036325; a=rsa-sha256; cv=none;
b=lja6jP7oYlewvCclLQ/Ue5jN/O/D6eLCKgLSLGA2OLm4YxPxM0XOiB7X7kV/JlVT52IROr
qbZ1EB9VPC1uhQ3zFOE1Jlg6Ff1SVNmSXBAmKUJ+rR5HqRRHyHyqo8+t6LM/wAOOUsTDRq
cyiAQB4ccSY5IowGOR3g9z8EOIEtbm9ImJYGkD6SfejGNUlXI3APAaFNRC71Gz4DFN21ID
2MYqEX/EEqzM6Urg095X4+zkBOewLpuAHob/4GggZPHQjZVYyvOfYWOFkbDWHXMmsMyiqT
amjuR/Sv56k0TKc+m2zp67Uzm2sFwpjr1dYJTOCpJN4adpGtXY+SZGceHFf8Nw==
Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2])
(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)
(Authenticated sender: grahamperrin)
by smtp.freebsd.org (Postfix) with ESMTPSA id 4NPDz927nTztZK
for ; Sat, 3 Dec 2022 02:58:45 +0000 (UTC)
(envelope-from grahamperrin@freebsd.org)
Message-ID:
Date: Sat, 3 Dec 2022 02:58:43 +0000
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.5.0
Subject: Re: git-switch(1) then git-pull(1)
Content-Language: en-GB
To: freebsd-git@freebsd.org
References:
<48B94C3C-6383-4CF6-9B9B-5F2EDB97FACD@iitbombay.org>
From: Graham Perrin
Organization: FreeBSD
In-Reply-To: <48B94C3C-6383-4CF6-9B9B-5F2EDB97FACD@iitbombay.org>
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="------------J4lxaAVAUHtI3gpx601QlCBd"
X-ThisMailContainsUnwantedMimeParts: N
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------J4lxaAVAUHtI3gpx601QlCBd
Content-Type: multipart/mixed; boundary="------------vxA3neEeJhAeuC7kHNeIMRlA";
protected-headers="v1"
From: Graham Perrin
To: freebsd-git@freebsd.org
Message-ID:
Subject: Re: git-switch(1) then git-pull(1)
References:
<48B94C3C-6383-4CF6-9B9B-5F2EDB97FACD@iitbombay.org>
In-Reply-To: <48B94C3C-6383-4CF6-9B9B-5F2EDB97FACD@iitbombay.org>
--------------vxA3neEeJhAeuC7kHNeIMRlA
Content-Type: multipart/alternative;
boundary="------------ACoher9rLq4LOvggoU9iFG2r"
--------------ACoher9rLq4LOvggoU9iFG2r
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
T24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ggoU9iFG2r
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 03/12/2022 02:30, Bakul Shah wrote:=
=E2=80=A6
There's the statement after the switch:=20
"up to date"
If the branch is truly updated, then what are the subsequent updates? (Th=
e pull immediately after the switch.
The "Your branch is up to da=
te with ..." message by git switch
is confusing but upd to date is merely with respect to the local
=2Egit. It mainly changes .git/index and .git/HEAD mostly. git pull
or fetch" is a separate issue.
OK, keyword: local. Now I understand the need for a separate
pull. Thanks.
From Git documentation:
The working tree and the index are
updated to match the branch.
Would it be truer if I imagine this?
The working tree and the index are
updated to match the local branch.
--------------ACoher9rLq4LOvggoU9iFG2r--
--------------vxA3neEeJhAeuC7kHNeIMRlA--
--------------J4lxaAVAUHtI3gpx601QlCBd
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"
-----BEGIN PGP SIGNATURE-----
wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOKu2MFAwAAAAAACgkQt2dIb0oY1At/
7w//TKJnIu3aq3Cbu/1YjMd0gt6HpKnO0UA5koTcxeZaJFRnzXVmroY0qJw/88n3O5NXY5Bz+OOR
8wVQ1FHTiW5vKI7B30AlyAVPJ4RG34DABX29GKwAb+cZu4lo2qtSmF6VeaDX4gv4gLRgcm/c4RcS
TOG9jum6rUzz7eSjvJWTpj4JUfKQSpSk71RktUjd+VsrfTmcOPFIKju3u24ve0uAaNTBEtWR4y0l
YfUVz/B1vhVRYKNEVuhyyY3/djkXluOTQr9C8kuGPkLCEVb11DCrf+6ysAOrypLgupwPT+yew2gN
EkxPLfbt1UmXoP4IgbdEqO4vb3EJpnLM4pgdlnnoa7MfhPm3T38q5I/JSgkkjh1Y5JOw69dJpidd
baryCS4jP0RFkJem7MgCi7cEy3ypa2FP5Jw90hDbPDmec9C1/uXfFsyn3qdj3sb0qZR3k4XCJadE
R0T6sgUoQNtX4UI7cRlqhP0nOqR8ynYYmb8OHzgPe4Blc0MhueTYVV03HnwVHvJ4O//vCkIGWkXk
VX2FZRLOzi+cJkfAJwAy3AqS5B5RGiFK60LViE2JZQ0lPdxcZXb5U9gxSJAd4T5WHrY0qpQUQhJ4
WCJ6d7bnXphgDVcylRWUuNhQi3H2ccepV3uad6zTXQnmzp0/V0N88RMRilciq9LoKm1Fzi6cWwE8
X6I=
=cAPW
-----END PGP SIGNATURE-----
--------------J4lxaAVAUHtI3gpx601QlCBd--