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

Re: git-mailsplit: add `mailsplit.keep-cr` configuration variable.

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 11, 2010, 18:35 UTC
Message-ID
<m3k4uj8vts.fsf@localhost.localdomain>
In-Reply-To
<20100211181354.GC15028@scotty.home>
Subject should read start with '[PATCH 2/4] '.
"Stefan-W. Hahn" <stefan.hahn@s-hahn.de> writes:
Show 10 quoted lines
> If using git-mailsplit in environments where files with dos and unix
> line ending stay in one repository mbox patches must be split with
> additional parameter '--keep-cr', because the behaviour of
> git-mailsplit have been changed in commit c2ca1d79.
> 
> With this patch the behaviour of git-mailsplit can be set via
> configuration file.
> 
> Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
> ---
[...]
> +mailsplit.keep-cr::
> +	If true git-mailsplit will not remove `\r` from lines ending
> +	with `\r\n`. See linkgit:git-mailsplit[1].
> +

The convention use by config variables is to have camelCase or allsmallcase name (variable name and section name are case insensitive), e.g.:

  transfer.unpackLimit::
  status.showUntrackedFiles::
  sendemail.aliasfiletype::
  repack.usedeltabaseoffset::
etc., with the only outlier being add.ignore-errors.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Stefan-W. HahnNext: Junio C Hamano
Message 3 of 6 in “git-mailsplit: Show parameter '--keep-cr' in usage and documentation”
  1. Stefan-W. HahnFeb 11, 2010
  2. git-mailsplit: add `mailsplit.keep-cr` configuration variable.Stefan-W. Hahn, Feb 11, 2010
  3. Jakub NarebskiFeb 11, 2010
  4. Junio C HamanoFeb 11, 2010
  5. git-am: Add command line parameter `--keep-cr` passing it to git-mailsplit.Stefan-W. Hahn, Feb 11, 2010
  6. Adding test for `--keep-cr` for git-mailsplit and git-am.Stefan-W. Hahn, Feb 11, 2010

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.