From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Renaming files with git not all that bad? Date: Thu, 9 Dec 2021 14:03:06 -0800 Message-ID: References: <878rwuia7g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27799"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers , Mathias Dahl To: Yuri Khan , Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 23:04:03 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvRWF-00077O-0C for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 23:04:03 +0100 Original-Received: from localhost ([::1]:42268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvRWD-0001sM-LP for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 17:04:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvRVQ-0001Ds-O1 for emacs-devel@gnu.org; Thu, 09 Dec 2021 17:03:12 -0500 Original-Received: from mail-pg1-f175.google.com ([209.85.215.175]:42697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvRVN-0001o3-QT; Thu, 09 Dec 2021 17:03:12 -0500 Original-Received: by mail-pg1-f175.google.com with SMTP id l18so1619160pgj.9; Thu, 09 Dec 2021 14:03:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=W0TWj6neN28bx51Uyh8BMjtD/drKzqopZqQL8Uk0EBw=; b=b0oTCqnx0RTGCsytd8Y99+BwAlGyozepWjnsatYoeIxijzBcQ+vhZf/qfE9/pSVYYv PUy8LuLM5In7TPEP9OdCl1JMmrS2WgxHIxPqKPCh2zxd2729+xZI50F8144JF7i0hvXp vwe1hsGtTRzjes+47kW/7AZEH0R01AkEgAv3ewyXbYKFSNsSjSrzI9jhHa2M1+c4CrKN CSFEyiNdVx5ny0AfH2vO0M3tRZcw/4S3ebtTr7C5WsVj/++TtlH/FOR+ab1t5mf0muMC PHQyynkVdIoIO7acVUVixiZRq9D0Sgcfco/uLB33tYa18pCYUlvD4wgpjxbiVLOy8N2r U6Og== X-Gm-Message-State: AOAM532Mv4GcOaGl8Z+5mZ++0t/4EqHCyydR+D2bTq6abPoL8+XqqfYB h4ef4F4kfMTu6TS1vUTSUNsfpZyXZm66sPkF4+0= X-Google-Smtp-Source: ABdhPJxfIqLAhL66yS8xBzkKY3TYfADWutnrkiTKAcOYUscyksJgTdxn9TrkNK6SUzJDyR7tJh9C2KTOuB8Bvy1jmSo= X-Received: by 2002:a63:cd:: with SMTP id 196mr1267461pga.591.1639087387277; Thu, 09 Dec 2021 14:03:07 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 9 Dec 2021 14:03:06 -0800 In-Reply-To: Received-SPF: pass client-ip=209.85.215.175; envelope-from=stefankangas@gmail.com; helo=mail-pg1-f175.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281550 Archived-At: Yuri Khan writes: >> Couldn't the same effect be achieved in a simpler manner by copying the >> original file N times in one commit and then stripping the copies and >> original down to what they should eventually become? (AFAIK, git has no >> problem detecting literal copies.) > > Indeed, I tried this and it works for me, as long as the first commit > is only literal copies. Maybe Git=E2=80=99s ancestry detection through co= pies > was not as advanced in the unspecified times when Raymond invented his > technique. I'm having no luck with this. Could you describe the exact steps you took?