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

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

From
Max Kirillov <max@max630.net>
Date
Jun 28, 2014, 22:04 UTC
Message-ID
<1403993086-15625-1-git-send-email-max@max630.net>
I realized the case when the newline adding can be needed.

The version 2 have this case (union-merge of changes at EOF without LF) fixed, with adding corresponding tests.

Max Kirillov (2):
  t6023-merge-file.sh: fix and mark as broken invalid tests
  git-merge-file: do not add LF at EOF while applying unrelated change
 t/t6023-merge-file.sh | 91 +++++++++++++++++++++++++++++++++++++++++++++++++--
 xdiff/xmerge.c        |  4 +--
 2 files changed, 90 insertions(+), 5 deletions(-)
-- 
2.0.0.526.g5318336
Next: Max Kirillov
Message 1 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.