From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Renaming files with git not all that bad? Date: Thu, 9 Dec 2021 13:35:18 +0700 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="30417"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers , Stefan Kangas , Mathias Dahl To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 07:37:25 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 1mvD3U-0007jO-Tx for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 07:37:24 +0100 Original-Received: from localhost ([::1]:54822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvD3T-0002DV-Bq for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 01:37:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvD1o-0001Bu-Co for emacs-devel@gnu.org; Thu, 09 Dec 2021 01:35:42 -0500 Original-Received: from [2607:f8b0:4864:20::936] (port=35769 helo=mail-ua1-x936.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvD1j-00026X-CC; Thu, 09 Dec 2021 01:35:39 -0500 Original-Received: by mail-ua1-x936.google.com with SMTP id l24so8979874uak.2; Wed, 08 Dec 2021 22:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mfLwoRS6BKZv5GlYrqgtjs8evDkvx0JumF3Nc4xqQlI=; b=WuAxNQyGD2lO8ITYiwswtDPMWDKjAuYICbNuk4RYCipUFudAxHV19NIRHeo75BXCFW 1EMpvGjnGUh5MjXpCy25N/a9wYUd28/jGL4f5bNRkTgbUFuYW0AGK8haO1EXibHXTvMN BDKNpcvZ6RIq22FnWGB0N38vupQcG343Uh8rFFkz678Bz1jyIggjDM9D3D/6VgpMks7V IV/apCwLxcxaDemTRt/Jyf6G9GWKSP2+v1npzGQq3DwE//Pep2+DgTWXNPfikblkSCbW APwJRfKys+PHh/johQ9G7GbWqg9ulljeOxS3L8EE456IHfaD3/K5IXYPGCd+L4JrlvWO R3cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mfLwoRS6BKZv5GlYrqgtjs8evDkvx0JumF3Nc4xqQlI=; b=eE+cO8Js8tlRylCRizkcGv5DHmyeX3hWAewx5DbNcn8cz0H82sdIYMbsdUCxcQ4K4+ aWsbNM4Hfc6VI+iWz4/rrQDRpmxDIleGzZfMBig1ajcdWa3LY7vUlTHHB3I6XYGzADx2 PL5cbqetmDXKy+vvo4WrhzIPVt3H1IpX8eCXorqhUL41JhRXtS4EB9NDGRytIMeqv9j9 ea9ruSVoAIjpOX7pLCja8fxalqdjH3RdJTfHUWbgr5jcVdxxULR4///Ynv1HcTsgf0Bn +emrWw5ZCYIGg4Xp5kqFo0eu2xOOgn21x8vlzVdJ6IkToqV4xG9VQYlNB8taXZ35vL8J RHig== X-Gm-Message-State: AOAM532WfJn2DONaIqrMgv990Hh5T4/6XkjL8Rbo0Je9Y+7Sr5g8ZfDo 3suCmhu4Qwhg4LIAUdXYaIESf1lkg4NmAM4aRQSoiAZu1as= X-Google-Smtp-Source: ABdhPJw88O1OGuVPFr5bxUk8glt7F65OhrpXFhpUshtLrEvmxyQq2eQhoJy9QKRURD3r1RlIaILYoFNJmCggn/IoSnQ= X-Received: by 2002:a67:31d1:: with SMTP id x200mr5028868vsx.76.1639031730515; Wed, 08 Dec 2021 22:35:30 -0800 (PST) In-Reply-To: <878rwuia7g.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::936 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x936.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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:281440 Archived-At: On Thu, 9 Dec 2021 at 13:06, Tassilo Horn wrote: > 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 copi= es was not as advanced in the unspecified times when Raymond invented his technique.