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

Re: [PATCH v2] Update documentation for stripspace

From
Frans Klaver <fransklaver@gmail.com>
Date
Dec 13, 2011, 06:28 UTC
Message-ID
<op.v6ez9yyi0aolir@keputer>
In-Reply-To
<1323728909-7847-1-git-send-email-conrad.irwin@gmail.com>

On Mon, 12 Dec 2011 23:28:29 +0100, Conrad Irwin <conrad.irwin@gmail.com> wrote:

Show 5 quoted lines
>> an incomplete line, i.e. "ensures the output does not end with an
>> incomplete line by adding '\n' at the end if needed".
>
> Hmm, I'm not sure that's the best way of describing it — I've gone with:
> "add a missing '\n' to the last line if necessary.".

In most editors/IDE's I know and that support this, this is called "ensure new-line at end of file". I find this wording clearer than the above two options.

Cheers, Frans

Previous: Conrad Irwin
Message 6 of 6 in “Update documentation for stripspace”
  1. Update documentation for stripspaceConrad Irwin, Dec 12, 2011
  2. Junio C HamanoDec 12, 2011
  3. Update documentation for stripspaceConrad Irwin, Dec 12, 2011
  4. Junio C HamanoDec 12, 2011
  5. Update documentation for stripspaceConrad Irwin, Dec 12, 2011
  6. Frans KlaverDec 13, 2011

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.