eol Questions

10

Solved

Is it possible for git merge to ignore line-ending differences? Maybe I'm asking the wrong question ... but: I tried uisng config.crlf input but things got a bit messy and out of control, special...
Hysterotomy asked 14/5, 2009 at 7:25

10

Solved

Is it possible for git merge to ignore line-ending differences? Maybe I'm asking the wrong question ... but: I tried uisng config.crlf input but things got a bit messy and out of control, special...
Luftwaffe asked 14/5, 2009 at 7:25

10

Solved

Is it possible for git merge to ignore line-ending differences? Maybe I'm asking the wrong question ... but: I tried uisng config.crlf input but things got a bit messy and out of control, special...
Upstart asked 14/5, 2009 at 7:25

10

Solved

Is it possible for git merge to ignore line-ending differences? Maybe I'm asking the wrong question ... but: I tried uisng config.crlf input but things got a bit messy and out of control, special...
Bil asked 14/5, 2009 at 7:25

3

I have some huge CSV files where sometimes the lines end with LF instead of CRLF, for example: pippo LF pluto CRLF I want to convert these two lines into a single line, like pippo pluto CRLF. I'm ...
Christiano asked 19/9, 2013 at 7:37

1

Solved

I have C++ a cross-platform program (compiled with g++ under Linux and with Visual Studio under PC). This program writes lines to a text file (using << operator and std::endl) but can also re...
Stricklin asked 17/11, 2014 at 12:59

2

Solved

Is there a best practice for preventing mixed eol-styles in a subversion repository. I know that svn:eol-style=native can be set as an auto-prop, but I would have to ensure that it was set for al...
Kora asked 24/3, 2010 at 17:10

3

Solved

I need to use SVN on Windows and would like to set it up such that line endings are always checked out in Windows style and always committed in Unix style, regardless which repository is used. Is...
Hallel asked 15/4, 2012 at 17:0

2

How can I remove ^M characters in Emacs? It doesn't work using dos2unix filename or unix2dos filename. Normally I cannot see any ^M characters, but this is what came out when using the comman...
Atrocious asked 17/5, 2014 at 13:47

2

Solved

I'm most often finding myself having to work with plain old vi on minimalistic terminals that tend to act differently than the vim on big distros, and so the behavior trips me up. What I want to k...
Skald asked 25/4, 2014 at 14:26

1

Solved

What needs fixing: I have a repository containing a single .md file, which contains an essay I am writing. I edit the file from a few different computers, one running Linux and a couple running Win...
Sodium asked 17/2, 2014 at 12:17

1

Solved

I have a source repository that is used both from Windows and Linux. I know that Git will automatically convert EOL to the local standard: \r\n on Windows and \n on Linux. This is not an issue fo...
Etruscan asked 27/1, 2014 at 0:37

2

I'm quite inexperienced with Git, and this one baffles me: I just switched my working copy to another branch (a simple git checkout master), and immediately after that, git status tells me about h...
Avebury asked 21/10, 2013 at 7:51

3

Solved

Currently, in order to ensure the subversion property eol-style is set to native for each new file added to our project, we have to add this to the ~/.subversion/config file on each of our develope...
Lamdin asked 15/4, 2011 at 1:6

6

When i try to commit the file in SVN its showing error as "Commit failed".Details follow....commit svn: Inconsistent line ending style.
Creepie asked 13/5, 2009 at 13:38

2

Solved

It is common to read until end of file, but I am interested in how could I read data (a series of numbers) from a text file until the end of a line? I got the task to read several series of numbers...
Wheeler asked 22/12, 2012 at 10:6

0

I have two identical html files (except for EOL character - one is LF and the other is CRLF), which I use to load 2 audio files using XMLHttpRequest. I don't use any web server (because the p...
Kermis asked 25/10, 2012 at 15:34

1

I am using git svn and today I ran into some trouble. I did an git svn clone and worked on my project for a while. After a few days, I've pushed my work to the svn remote (git svn dcommit). Then I...
Andryc asked 9/8, 2012 at 13:19

2

Solved

I cannot see a significant difference between the two following lines. Yet the first parses, and the latter, does not. In [5]: n=""" \\"Axis of Awesome\\" """ In [6]: n="""\\"Axis of Awesome\\"...
Denti asked 4/7, 2012 at 11:36

1

Solved

How do I clone a Mercurial repository so that the my working copy always has CRLF line endings? This is similar to this question Problems configuring eol extension in Mercurial But I'm missing so...
Ss asked 29/5, 2012 at 16:16

4

Solved

What's the difference between \n and \r (I know it has something to do with OS), and what's the best way to echo a line break that will work cross platform? EDIT: In response to Jarod, I'll be usi...
Mcclees asked 1/11, 2008 at 4:2

2

I'm working with Java in a multi-platform environment (Windows + Linux). Whatever text files we produce, however, should use LF as their EOL sequence. Is there a way I can force Java to use this ...
Euphonious asked 4/4, 2012 at 14:53

1

Solved

I'm pretty happy with how Git itself handles line endings, via core.autocrlf, core.eol + gitattributes (Tim's post is excellent). I have a Windows Git repo that has autocrlf set to true. So, all t...
Pat asked 28/3, 2012 at 14:27

3

Solved

Okay, what I want is this: When the <p> tag ends with </p>, I want to add a character at the end of the line. For example <p>Something and more!</p> Should look like S...
Constantino asked 1/11, 2011 at 20:3

3

Solved

I have a .txt file named COPYING which is edited on windows. It contains Windows-style line breaks : $ file COPYING COPYING: ASCII English text, with CRLF line terminators I tried to convert it t...
Churr asked 7/10, 2011 at 12:54

© 2022 - 2024 — McMap. All rights reserved.