From owner-freebsd-ports@freebsd.org Mon May 10 09:21:52 2021 Return-Path: Delivered-To: freebsd-ports@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 BA169631CFA for ; Mon, 10 May 2021 09:21:52 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FdwYD4TfQz4vXG for ; Mon, 10 May 2021 09:21:52 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 97CC16314EC; Mon, 10 May 2021 09:21:52 +0000 (UTC) Delivered-To: ports@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 966C96314EA for ; Mon, 10 May 2021 09:21:52 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay212.isp.belgacom.be (mailrelay212.isp.belgacom.be [195.238.22.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign RSA OV SSL CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FdwYC6lpFz4vKn; Mon, 10 May 2021 09:21:51 +0000 (UTC) (envelope-from tijl@freebsd.org) IronPort-SDR: iah+K2rj+k7lqOATvk+JDfvQjOGo7FfVXkYdz5SOSmldi9gZTMhzQUnyJLnFZUd5HxLnVmqRF8 H6dH90HTdy6FWqVYykswKa2HSvQ9JCbTiqAk0IxjgKNbTSspZSgMGZ8e7Yuql+4MQEmM3fGTmI sBNzoKdUoPJ7ykUTj4gRVnoxA9s3jU+/4qm5dWQeOvtR4GnZKTof95DV6oQljVxGXjuwKEVLt5 bEQiB3ggGkmHEd7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Zs5yxLFdvCKcZaE7gjsWeuXPDx2nmhqeKiliBa36UWgz+r8WdSq31tSt SpFl8XMtmgK1xzO9siLUvt98Vml2TaIzw3T6ftLIUQ1lareNZEh2LkwmoAPsUTCHC/2nF/6g 7ORdkUj4ein9eHnba/gpp+HLYN0jRv+Mqs2lsy+B+Q3LBQOUnCY9OihzrHv40L0TKtQgvErk KTVrorWKMsDqq68GQBV04Ij6xilDzeh1dQVhWUHLFNHeBKDlIXpNUvOL+7mAvikmFSjjS1nx /fcPr3uGpnNNGTMkK/9fbZh7E5R0BIzzddF55JIEbEMO/zzWlXvu9PGFRA5KBG7z/zgCNVn2 YMUQXiPDbOBMKPOrV+I4foiLPKLZI8buDbwMPYl5+TwgnAnglAdZrSm0YEQaHCiEfRsO1+Zb mb0gtcdDWcKuRIzTOnwh12eSjNTaWyyULwi6T4gE4KpEJ3PRoe3gLyOj2+HGchzb3xGC12RW V7ycYKAV79YbSuOCsF7nzEOTrTnTJUug0KArgj/noaAKqL//SoDuJfq0sM9s/HSlxUa2yZ5A u6m/yeKVW4izTBAfCM/wK0q+R818VyEy6Ut25Rl IronPort-HdrOrdr: A9a23:2u1Y+akqWad4BMEXslKSxa7EO2XpDfKO3DAbv31ZSRFFG/FwyP rD7Y8mPE7P5UdoZJh/o7rwQZVoJkmsvKKdgLNhS4tKOTOI1ldAQ7sSn7cKrweQahEXGIZmpO Rdm4YXMqyxMbE4t7e33OGAe+xQgeVviZrYx9s2rE0dOD2D3spbnkpE42SgYzlLrVJ9dNAE/f Onj6It1l3QAwVqH7qG62E+LpX+Trvw5eXbiDE9ZyLPgzP+/g9AhoSKYyRxH38lIldyKHQZgA v4es7Ch5lKA5qAu1HhPqPonvZrcNaL8KoJOCR94fJlYgkEQzzYAfUGKsK/lQFwmvim7BIBkd XHoRsse+R1r13LeH2tyCGdlDXd7A== X-IronPort-Anti-Spam-Filtered: true Received: from 4.172-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.172.4]) by relay.proximus.be with ESMTP; 10 May 2021 11:21:48 +0200 Received: from localhost (localhost [127.0.0.1]) by kalimero.tijl.coosemans.org (8.16.1/8.16.1) with ESMTP id 14A9LkfR006343; Mon, 10 May 2021 11:21:46 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 10 May 2021 11:21:43 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Mathieu Arnold Cc: Muhammad Moinur Rahman , "ports@freebsd.org" Subject: Re: Preferred way of repocopy in terms of git Message-ID: <20210510112143.7cf635e0@FreeBSD.org> In-Reply-To: <20210510073056.ixl6ypq3bgrp6nco@aching.in.mat.cc> References: <953F2827-FE7C-4286-B6D5-867382A436C7@freebsd.org> <20210510073056.ixl6ypq3bgrp6nco@aching.in.mat.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FdwYC6lpFz4vKn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2021 09:21:52 -0000 On Mon, 10 May 2021 09:30:56 +0200 Mathieu Arnold wrote: > On Fri, May 07, 2021 at 11:32:48PM +0600, Muhammad Moinur Rahman wrote: >> What is the preferred way of doing ports repocopy in git? In the hard >> way I can see moving it into two locations and merging them. But is >> there any easier way of doing it? > > Well, here is what I did when I added lang/perl5.34: > > cp -R lang/perl5-devel lang/perl5.34 > # change stuff > git add lang/perl5.34 > git commit > > I don't really see any other way to do this, Git has absolutely no clue > about copies or moves. It might still be useful to do the copy and changes as two separate commits. Even if git doesn't do anything with that, our next vcs might and reconstructing copy history is faster and less error prone with unmodified copies.