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

git-annotate dies when a patch is missing trailing newline

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 2, 2006, 00:53 UTC
Message-ID
<46a038f90603011653l7956d5dat99d88a7da98d21b6@mail.gmail.com>
Ryan, (& list)

git-annotate is dying when a patch is missing trailing newline. There _are_ valid situations where code files are not expected to have trailing newlines. Just thing of that glorious programming language, PHP.

(Ducks).

Actually, 99% of my usage of git is tracking CVS projects so this is a bit of a problem.

I had fixed it in Johannes version, but I'm lost as to where to fix it in the current git-annotate. Help?

martin
Next: Ryan Anderson
Message 1 of 7 in “git-annotate dies when a patch is missing trailing newline”
  1. Martin LanghoffMar 2, 2006
  2. Ryan AndersonMar 2, 2006
  3. Junio C HamanoMar 2, 2006
  4. Junio C HamanoMar 2, 2006
  5. Martin LanghoffMar 2, 2006
  6. Junio C HamanoMar 2, 2006
  7. Martin LanghoffMar 2, 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.