From owner-freebsd-git@freebsd.org Thu Apr 1 15:31:02 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 C7CE257BC61 for ; Thu, 1 Apr 2021 15:31:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB6b96Km7z4RbN for ; Thu, 1 Apr 2021 15:31:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x735.google.com with SMTP id g20so2594299qkk.1 for ; Thu, 01 Apr 2021 08:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UC45tQwK+Bv+ewoGsSMnccq8/qNk8RpNH5SjPSshnVc=; b=1b1URwI+SUbbnHovhskc3bVyBJjIpaRr6cg0swKKLx4n+95sCxCE0jWX2Tva+HY1jn 79CCiMCDYORip9XbA3fL8fXvCtfCZ5rHqha5vM4f/ux3DtxewDFfvZDztP5whYLZzgSX 2mVg1ybO1ISEwbfiCD/2+bQSW6HAimzkKNSLgH579jRDqwhst0tUthxowdbAnvxiyIju rbOOCPKxrvraT6TAlXNR5uOBbfilblsH+PKtouozd+7MqLqIhOKzD+Bq4E4g11i2ZiEV gXaQwzhiTaN5GvboT/aMUZAN6ARv1yc9JO61cvuJdOC2KZMZptqRESFhw7Mm1DIdwcyc DJkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UC45tQwK+Bv+ewoGsSMnccq8/qNk8RpNH5SjPSshnVc=; b=n0dsYfmD/NOsaMqNKdAIfAmrLLiwtVVNd2umiAtuQUbCWRbKFOmtya4Bd83lXZ09yH o4n2FOQw4alULLGPv7FCBLwqSkAJGT/qlDziMs0JrXhcDrHPYzMRVdGSSEAYOv8ARuqK +gkas2gzRN5jhFngEyTwm5K5ME4eIwtngjiUTbshai2RzGLbNn/GrEiorYkxPf2vlLKN hhbLkfCbi7X6tm0ui5uQZe7uXpACjVg5gu2b56lD7XdkuNFccmlThUG0Ge6CCgXwE4au mqSIRdA5ZsELl5qFAvjF8l1Fk4Tctv7JmikOQdiIRwgNauWXWx+VZQR9mdXJmp7NOYRO 09jw== X-Gm-Message-State: AOAM531xU87sLtUKmmzLeaKWhrQBW4PEgqtnrwFMH8LHKDzKeqLv8p96 59pwoGD23vgd+XdfaBrhg/kT9ARgWdGKzwaTTkv95w== X-Google-Smtp-Source: ABdhPJxu+U//Gr2TFw2y2S5twOieM2CvEoyMHqRHT2KlTDSbScSOPPlDJnb9Q3YF8hfbiFBMEfWSm73cl5v28UpMmOw= X-Received: by 2002:a37:a085:: with SMTP id j127mr8544743qke.206.1617291060859; Thu, 01 Apr 2021 08:31:00 -0700 (PDT) MIME-Version: 1.0 References: <202103311842.12VIgiJ3006095@slippy.cwsent.com> <20210401075841.xot2c427twdbxo5a@aching.in.mat.cc> <09169422-5c59-74a9-82ad-5d6d5fd17d7a@punkt.de> In-Reply-To: <09169422-5c59-74a9-82ad-5d6d5fd17d7a@punkt.de> From: Warner Losh Date: Thu, 1 Apr 2021 09:30:49 -0600 Message-ID: Subject: Re: Ports Repocopies To: Lars Liedtke Cc: freebsd-git X-Rspamd-Queue-Id: 4FB6b96Km7z4RbN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=1b1URwI+; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::735) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-git]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::735:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::735:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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 15:31:02 -0000 On Thu, Apr 1, 2021 at 4:39 AM Lars Liedtke wrote: > > > If you are talking about doing a svn copy/move to record the ancestry of > > 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 and moves are deletion and addition, git as far as I > know. This this might not be explicit but implicit. > git absolutely does not record copies or moves. It guesses. Usually it guesses right, but sometimes it doesn't. Whatever process we use, we need to assume that will fail at some point. To overcome this, be explicit where things were copied from, and hashes when ports are resurrected in the commit message. Warner