From owner-freebsd-git@freebsd.org Thu Apr 1 12:17:52 2021 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8920F5CBD5A for ; Thu, 1 Apr 2021 12:17:52 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4FB2JJ3PfYz3jYR; Thu, 1 Apr 2021 12:17:52 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [79.143.240.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4930A23249; Thu, 1 Apr 2021 12:17:52 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:678:ab:0:3356:ef6b:256f:d0c6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id 1FADE942D80; Thu, 1 Apr 2021 12:17:51 +0000 (UTC) Date: Thu, 1 Apr 2021 14:17:49 +0200 From: Mathieu Arnold To: Lars Liedtke Cc: freebsd-git@freebsd.org Subject: Re: Ports Repocopies Message-ID: <20210401121749.g4rtr4tmitibed5g@aching.in.mat.cc> References: <202103311842.12VIgiJ3006095@slippy.cwsent.com> <20210401075841.xot2c427twdbxo5a@aching.in.mat.cc> <09169422-5c59-74a9-82ad-5d6d5fd17d7a@punkt.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uwrwxn2nqt6x7rze" Content-Disposition: inline In-Reply-To: <09169422-5c59-74a9-82ad-5d6d5fd17d7a@punkt.de> X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 12:17:52 -0000 --uwrwxn2nqt6x7rze Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 01, 2021 at 12:39:46PM +0200, Lars Liedtke wrote: >=20 > >=A0 If you are talking about doing a svn copy/move to record the ancestr= y of >=20 > I believe this is not true. Maybe git does it differently than svn, I > don't know that; but git does record moves and copies, whilst copies are > like new files for=A0 and moves are deletion and addition, git as far as I > know. This this might not be explicit but implicit. Git does not record moves or copies. What git does, when running diff or status (or other commands using those in the background), and when you ask it to, is look around see if maybe, a new file looks like a file being removed (-M), or an existing one (-C). Sometime it gets it right, but most of the time it does not. --=20 Mathieu Arnold --uwrwxn2nqt6x7rze Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmBlud9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgIQtQ/5AWJe2aZWpBh+BPPKgMjgj++y3A+x7WbJ96iJi+tNDUlGIuprn+ap6Job ZPRX+ET9oP49Elkkba4IAQCnijwlYyxv9UituXtSUQgPPyqfIG2OZDb0GREHjrqr ay3p1yQofG3BEyYTj66T0KmpEk8+XctItojfYBOFobK4a7E+YR2kI0AYQ0axUC1O tq7aPuebUHvmLUUbRm2yHrcXy+gPPEQGcdmaVGF+q99RbBIZjE+CfFL1eiVDYXnx TmRaA4ILUBFUs9n+dg2fIMSXJkMb/RziPY0Jf5SjQQDi5+4iQIpwYggXTtDUsOp2 4fPcoYAxEfVogBf4Wn47WHehF8t5RAEnpRyeTvOL+XC64TOHzNuL/FdWyomOrojW mGcGFIBaaEHY7Ox/5pZjHn4CGuuRLGuED7HtJ9aEpJfawYRVeJODXjJRejV211Xz dFuzs06hHikSCru4BzI0jSlIiw/XHhxtXvNyLinc9n30y0bkWi6Jjg7VjE6UHYKG 7FPALhDrEY+9GcjAFfrO3qbvUhPhoC1sIdUYyE4Z6s4gmpVwH/oV6fceEGJQYTJS vIhg6MYmFnR4eiaWMY0rT7V6AEaV3Wb/mteQAMPDlu0ivNmxYOO+DMTaMPxnKF9n AHcuZKf6v+ceGbDjCY/OaOcP54JY4H7Edp+Ajn/Cdxweha9PUxQ= =zRSC -----END PGP SIGNATURE----- --uwrwxn2nqt6x7rze--