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

Re: [PATCH] blame: make sure that the last line ends in an LF

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 20, 2009, 19:55 UTC
Message-ID
<alpine.DEB.1.00.0910202153160.4985@pacific.mpi-cbg.de>
In-Reply-To
<7vbpk2ovio.fsf@alter.siamese.dyndns.org>
Hi,
On Tue, 20 Oct 2009, Junio C Hamano wrote:
Show 13 quoted lines
> Sverre Rabbelier <srabbelier@gmail.com> writes:
> 
> >> Or am I worrying too much?
> >
> > No, I think your concerns are valid, we should go with (2) and DTRT. 
> > Does the updated patch address your concerns? If so I can send a new 
> > version.
> 
> Assuming the internal blame algorithm correctly works with such an 
> input, I'd be happier with an approach to allow users to tell the 
> difference. The --porcelain output was designed to be extensible, and it 
> might make sense to show the "this line is incomplete" as a separate 
> bit, though.

Sorry, you lost me. If, say, line 614 is the last line that does not end in a new line, if I ask for it to be blamed, I want to know who is responsible for the current form of line 614.

Not whether the line ends in a new line or not.

Ciao, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “blame: make sure that the last line ends in an LF”
  1. blame: make sure that the last line ends in an LFSverre Rabbelier, Oct 20, 2009
  2. Junio C HamanoOct 20, 2009
  3. Sverre RabbelierOct 20, 2009
  4. Junio C HamanoOct 20, 2009
  5. Johannes SchindelinOct 20, 2009
  6. Junio C HamanoOct 20, 2009
  7. Sverre RabbelierOct 20, 2009
  8. Junio C HamanoOct 20, 2009
  9. Sverre RabbelierOct 22, 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.