GNU bug report logs - #65049
29.1; vc-do-command fails in windows emacs 29.1

Previous Next

Package: emacs;

Reported by: Maxim Kim <habamax <at> gmail.com>

Date: Fri, 4 Aug 2023 07:51:01 UTC

Severity: normal

Found in version 29.1

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Kim <habamax <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 65049 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#65049: Minor update to the repro steps
Date: Wed, 23 Aug 2023 14:28:10 +1000
Eli Zaretskii <eliz <at> gnu.org> writes:

So, it works for the repo with files having windows CRLF.
And doesn't work if the file has EOL type: LF.

The steps:

1. create new git repo (mkdir test, cd test, git init)
2. runemacs -Q
3. navigate to the created test dir and find a new file "hello.txt"
4. C-x RET f utf-8-unix RET
5. add "hello" text line and save
6. C-x v v to register file
7. C-x v v and add summary "test"
8. C-c C-c
8. add "world" text line to "hello.txt" and save
9. C-x v D
10. C-x v v and add summary "test"
11. C-c C-c

error: patch failed: hello.txt:1
error: hello.txt: patch does not apply






This bug report was last modified 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.