git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Quick question: end of lines

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 1, 2006, 08:31 UTC
Message-ID
<46a038f90603010031g31f8bc33xd3f45f2e19950c78@mail.gmail.com>
In-Reply-To
<f898cca90602281612n777a4f17m@mail.gmail.com>
On 3/1/06, Emmanuel Guerin <emmanuel@guerin.fr.eu.org> wrote:
> What I begin to realize is that the only possibility probably lies in
> using a tool that converts the modified files "on the fly" before
> commits. I just want to make sure that no other solution was found by
> others facing a similar problem.

Perhaps a pre-commit hook? Read the documentation (and search the list archives). I'm pretty sure you can do newline cleanup before commit or at least newline checks before commits.

There's always the option of filing a bug in MS's bugzilla ;-)
cheers,
martin
Previous: Emmanuel GuerinNext: Junio C Hamano
Message 5 of 6 in “Quick question: end of lines”
  1. Emmanuel GuerinFeb 28, 2006
  2. Johannes SchindelinFeb 28, 2006
  3. Martin LanghoffFeb 28, 2006
  4. Emmanuel GuerinMar 1, 2006
  5. Martin LanghoffMar 1, 2006
  6. Junio C HamanoMar 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.