From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65049: Minor update to the repro steps Date: Tue, 22 Aug 2023 15:52:20 +0300 Message-ID: <835y57tf23.fsf@gnu.org> References: <83y1iruky1.fsf@gnu.org> <83il9qom6k.fsf@gnu.org> <86v8dandhq.fsf@mail.linkov.net> <83bkf1woy3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65049@debbugs.gnu.org, juri@linkov.net To: Maxim Kim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 14:53:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qYQsq-0002bb-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 14:53:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYQsX-0001zw-4r; Tue, 22 Aug 2023 08:53:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYQsV-0001wF-Ri for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 08:52:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYQsV-0001rA-Ik for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 08:52:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYQsY-0006OF-AU for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 08:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65049 X-GNU-PR-Package: emacs Original-Received: via spool by 65049-submit@debbugs.gnu.org id=B65049.169270873024494 (code B ref 65049); Tue, 22 Aug 2023 12:53:02 +0000 Original-Received: (at 65049) by debbugs.gnu.org; 22 Aug 2023 12:52:10 +0000 Original-Received: from localhost ([127.0.0.1]:58719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYQri-0006N0-67 for submit@debbugs.gnu.org; Tue, 22 Aug 2023 08:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYQrg-0006Mn-Qu for 65049@debbugs.gnu.org; Tue, 22 Aug 2023 08:52:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYQrY-0001k4-Lm; Tue, 22 Aug 2023 08:52:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NLbhIAMPm8Gilr50j6PS7IrVV4ppsK0gQr7+a6JNYj8=; b=YOIatn6OUrdQ XsA8ufOiwLE1Zsup5KhOybdnmsY6/pT9DltYgCyG6U6nfSvs3Pf7GEy7cBEKFXjAxfHbLlXZFrSPw m0Fmaj5XfhSzSmLlLENoLB2/bwOH5+nXpB5OZzjtXw3H9bdknAuPDsvAnWr98doP0jyPqCYur7wqO Ls9euMoVBAvknTSE49nWsgfXGLfYNmFfnkb2pDlrIDbDH7qsRnW0C/y8x5qdRPTfpGgwfpbQxnMNc EY1hsXb6eOUUk5CGbQoeptXablZkvsbjvr3pImlL6X+AgybWhvTHUnADJq62cDhsSHoNpUnH9wfBq YWHrWAYF5u77lkOvSlgErQ==; In-Reply-To: (message from Maxim Kim on Tue, 22 Aug 2023 09:10:44 +1000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268167 Archived-At: > From: Maxim Kim > Cc: Juri Linkov , 65049@debbugs.gnu.org > Date: Tue, 22 Aug 2023 09:10:44 +1000 > > In fact, I get the same error with the fresh repo: > > 1. mkdir ~/prj/test > 2. cd ~/prj/test > 3. git init > 4. open emacs and create a new text file with "hello" line. > 5. C-x v v to register it in vc > 6. C-x v v for vc-log, add summary, commit with C-c C-c > 7. Add a new line to text file, save > 8. C-x v D to get vc-root-diff > 9. C-x v v for vc-log and add Summary > 10. C-c C-c to commit > > And it fails even though autocrlf=false and the file in question has LF. I'm sorry, but it doesn't fail here, even without installing the patch with -unix encoding. I don't know what to say. Maybe it is something with Git for Windows: my version is quite old (2.10.0); perhaps something has changed since then? Also are you sure you tried with Emacs 29? I used the latest emacs-29 branch from Git and stock Emacs 29.1, and they both work as expected. If none of the above helps, perhaps describe the steps above in more detail. For example, the following details I had to guess: . was the new file with Unix EOL or Windows CRLF EOL format? . what was buffer-file-coding-system of the new file? . what was the exact text of summary in log message you typed each time in the recipe? . what did the "new line" in the file say, exactly? Maybe one of these details is significant?