Re: Stop adding ^M characters

2021-04-08 Thread Arthur Goldberg
Thanks Bruce I fixed it. Now I can change lines without 'git diff' complaining about bad line endings! The setting is actually Preferences -> Appearance -> Text status bar items: _√_ Line break type Regards Arthur On Tuesday, April 6, 2021 at 7:49:07 PM UTC-4 Bruce Van Allen wrote: > On 6

Re: Stop adding ^M characters

2021-04-06 Thread Bruce Van Allen
On 6 Apr 2021, at 16:31, Arthur Goldberg wrote: > I don't "see "Windows (CRLF)" at the bottom of the window 'chrome'." I'm > editing Python & see this: Preferences -> Appearance -> Text status bar items: _√_ Text Encoding Thanks, - Bruce _bruce__van_allen__santa_cruz__ca -- This is the

Re: Stop adding ^M characters

2021-04-06 Thread Arthur Goldberg
Thanks everyone. Yes, this only happens with some files, and always with them. I have followed the Git for Windows: Line Endings advice, creating .gitattributes. I don't "see "Windows (CRLF)" at the bottom of the window

Re: Stop adding ^M characters

2021-04-05 Thread Sam Hathaway
If you use Git to collaborate with Windows users, there is some additional complexity to consider: https://www.edwardthomson.com/blog/git_for_windows_line_endings.html Cheers, -sam On 4 Apr 2021, at 21:16, David Kelly wrote: On Apr 4, 2021, at 6:07 PM, Arthur Goldberg wrote: According to

Re: Stop adding ^M characters

2021-04-04 Thread David Kelly
On Apr 4, 2021, at 6:07 PM, Arthur Goldberg wrote: > According to `git diff`, control-M characters appeared at the ends of all > lines I inserted in a file I'm editing with BBEdit. See screenshot. > > How do I stop doing this? Original Apple/Mac convention was (Control-M) line endings.

Re: Stop adding ^M characters

2021-04-04 Thread TJ Luoma
I believe those are line endings for Windows line-endings. When editing a file, see if you see "Windows (CRLF)" at the bottom of the window 'chrome'. If so, click on it and change it to "Unix (LF)". Git will be happier then. On Sun, Apr 4, 2021 at 7:07 PM Arthur Goldberg wrote: > According

Stop adding ^M characters

2021-04-04 Thread Arthur Goldberg
According to `git diff`, control-M characters appeared at the ends of all lines I inserted in a file I'm editing with BBEdit. See screenshot. How do I stop doing this? Thanks Arthur [image: ctrl-M.jpg] -- This is the BBEdit Talk public discussion group. If you have a feature request or