From: Junio C Hamano Date: Wed, 03 Jun 2015 16:42:46 GMT Subject: Re: [PATCH/RFC v3 2/4] git-am.txt: add configuration section in git am documentation Message-ID: In-Reply-To: Matthieu Moy writes: >> OPTIONS >> ------- >> (|)...:: >> @@ -43,11 +53,11 @@ OPTIONS >> --keep-non-patch:: >> Pass `-b` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]). >> >> ---[no-]keep-cr:: >> +--keep-cr:: >> +--no-keep-cr:: >> With `--keep-cr`, call 'git mailsplit' (see linkgit:git-mailsplit[1]) >> with the same option, to prevent it from stripping CR at the end of >> - lines. `am.keepcr` configuration variable can be used to specify the >> - default behaviour. > > I don't think it's a good idea to remove this part. If I look for a way > to make --keep-cr the default, the first place I'd look would be the doc > for --keep-cr, and I'd appreciate a link to am.keepcr. Yup, very sensible suggestion. Configuration gives default, command line options override the default. People come two different ends; having to describe the same thing twice is wasteful, but will help them one indirection to find relevant facts in the documentation.