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

Re: [PATCH v2 2/2] git-merge-file: do not add LF at EOF while applying unrelated change

From
Max Kirillov <max@max630.net>
Date
Jul 3, 2014, 04:31 UTC
Message-ID
<20140703043141.GA21237@wheezy.local>
In-Reply-To
<alpine.DEB.1.00.1407021604510.14982@s15462909.onlinehome-server.info>
On Wed, Jul 02, 2014 at 04:08:28PM +0200, Johannes Schindelin wrote:
Show 18 quoted lines
>> What could be improved with them?
> 
> Oh, I would name the files more appropriately, for example. That is,
> instead of test1.txt I would call it mixed-endings.txt or lf-only.txt or
> some such.
> 
> And instead of the Latin version of Psalm 23, I would put lines into the
> files that describe their own role in the test, i.e.
> 
> 	unchanged
> 	ends with a carriage return
> 	ends with a line feed
> 	unchanged
> 
> or similar.
> 
> Please keep in mind that this critique is most likely on my *own* work,
> for all I know *I* introduced those files.
I asked to have something in mind if I return to this.
 
Thanks for the notes.
-- 
Max
Previous: Johannes Schindelin
Message 8 of 8 in “git-merge-file: do not add LF at EOF while applying unrelated change”
  1. 0/2 git-merge-file: do not add LF at EOF while applying unrelated changeMax Kirillov, Jun 28, 2014
  2. 1/2 t6023-merge-file.sh: fix and mark as broken invalid testsMax Kirillov, Jun 28, 2014
  3. 2/2 git-merge-file: do not add LF at EOF while applying unrelated changeMax Kirillov, Jun 28, 2014
  4. Johannes SchindelinJun 30, 2014
  5. Junio C HamanoJul 1, 2014
  6. Max KirillovJul 2, 2014
  7. Johannes SchindelinJul 2, 2014
  8. Max KirillovJul 3, 2014

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.