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

Re: [PATCH] git diff ignore-space options should ignore missing EOL at EOF differences

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 25, 2009, 09:35 UTC
Message-ID
<7v8wnu7tbp.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<9b18b3110902150609q13333619k98f87a4a36a09030@mail.gmail.com>
demerphq <demerphq@gmail.com> writes:
> Fix bug where the diff library complains about missing EOL at EOF
> mismatches even when run under the various ignore whitespace options.

Hmm. Perhaps I am not reading the problem description correctly, but this is not certainly you are talking about, right?

    $ printf "abcde " >one
    $ git add one
    $ printf "abcde  " >one
    $ git diff -w one
    diff --git a/one b/one
    index c1401e2..9f6f8e6 100644
    $ echo "abcde  " >one
    $ git diff -w one
    index c1401e2..21ee909 100644
    $ exit
    
Previous: demerphq
Message 6 of 6 in “git diff ignore-space options should ignore missing EOL at EOF differences”
  1. git diff ignore-space options should ignore missing EOL at EOF differencesdemerphq, Feb 15, 2009
  2. Johannes SchindelinFeb 15, 2009
  3. demerphqFeb 15, 2009
  4. Johannes SchindelinFeb 15, 2009
  5. demerphqFeb 24, 2009
  6. Junio C HamanoFeb 25, 2009

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.