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

Re: [PATCH v2 1/9] CodingGuidelines: move period inside parentheses

From
DSDragan Simic <dsimic@manjaro.org>
Date
Dec 22, 2023, 01:30 UTC
Message-ID
<b3b03da0e33b805f1f420a0dc1a19d86@manjaro.org>
In-Reply-To
<xmqqedffl13r.fsf@gitster.g>
On 2023-12-21 22:03, Junio C Hamano wrote:
Show 17 quoted lines
> "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 
>> From: Josh Soref <jsoref@gmail.com>
>> 
>> The contents within parenthesis should be omittable without resulting
>> in broken text.
>> 
>> Eliding the parenthesis left a period to end a run without any 
>> content.
> 
> Nobody seems to have commented on this one in the previous round,
> but quite honestly, for this particular instance, I suspect that it
> may become easier to read if we just lost these parentheses, as the
> next sentence "You do not have to include more than ..." is just a
> bit of extra material to support the first sentence like the one we
> see in the parentheses.  Alternatively, moving that "You do not have
> to" also inside the same parentheses might work slightly better.

I agree with simply erasing the parentheses, it makes the paragraph flow much better.

Show 24 quoted lines
> It might be even easier to follow if we moved the list of "approved
> headers" (and the "You do not have to ... more than one" note that
> supports the "currently approved list") totally out of line by
> making it a side note.
> 
>> Signed-off-by: Josh Soref <jsoref@gmail.com>
>> ---
>>  Documentation/CodingGuidelines | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/Documentation/CodingGuidelines 
>> b/Documentation/CodingGuidelines
>> index 8ed517a5ca0..af94ed3a75d 100644
>> --- a/Documentation/CodingGuidelines
>> +++ b/Documentation/CodingGuidelines
>> @@ -450,7 +450,7 @@ For C programs:
>>     one of the approved headers that includes it first for you.  (The
>>     approved headers currently include "builtin.h",
>>     "t/helper/test-tool.h", "xdiff/xinclude.h", or
>> -   "reftable/system.h").  You do not have to include more than one of
>> +   "reftable/system.h".)  You do not have to include more than one of
>>     these.
>> 
>>   - A C file must directly include the header files that declare the
Previous: Josh SorefNext: Josh Soref via GitGitGadget
Message 29 of 55 in “Minor improvements to CodingGuidelines and SubmittingPatches”
  1. 0/8 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 19, 2023
  2. 1/8 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 19, 2023
  3. 2/8 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 19, 2023
  4. 3/8 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 19, 2023
  5. 4/8 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 19, 2023
  6. Phillip WoodDec 20, 2023
  7. Elijah NewrenDec 20, 2023
  8. Josh SorefDec 20, 2023
  9. Elijah NewrenDec 20, 2023
  10. Josh SorefDec 20, 2023
  11. phillip.wood123@gmail.comDec 21, 2023
  12. Junio C HamanoDec 20, 2023
  13. 5/8 SubmittingPatches: improve extra tags adviceJosh Soref via GitGitGadget, Dec 19, 2023
  14. 6/8 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 19, 2023
  15. René ScharfeDec 19, 2023
  16. Elijah NewrenDec 20, 2023
  17. Josh SorefDec 20, 2023
  18. Junio C HamanoDec 20, 2023
  19. 7/8 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 19, 2023
  20. Elijah NewrenDec 20, 2023
  21. Josh SorefDec 20, 2023
  22. Elijah NewrenDec 20, 2023
  23. 8/8 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 19, 2023
  24. Elijah NewrenDec 20, 2023
  25. 0/9 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 21, 2023
  26. 1/9 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 21, 2023
  27. Junio C HamanoDec 21, 2023
  28. Josh SorefDec 21, 2023
  29. Dragan SimicDec 22, 2023
  30. 2/9 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 21, 2023
  31. Junio C HamanoDec 21, 2023
  32. Josh SorefDec 21, 2023
  33. Junio C HamanoDec 21, 2023
  34. 3/9 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 21, 2023
  35. Junio C HamanoDec 21, 2023
  36. 4/9 SubmittingPatches: discourage new trailersJosh Soref via GitGitGadget, Dec 21, 2023
  37. 5/9 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 21, 2023
  38. Junio C HamanoDec 21, 2023
  39. Josh SorefDec 21, 2023
  40. 6/9 SubmittingPatches: improve extra tags adviceJosh Soref via GitGitGadget, Dec 21, 2023
  41. Junio C HamanoDec 21, 2023
  42. 7/9 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 21, 2023
  43. Junio C HamanoDec 21, 2023
  44. 8/9 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 21, 2023
  45. 9/9 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 21, 2023
  46. 0/9 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 28, 2023
  47. 1/9 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 28, 2023
  48. 2/9 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 28, 2023
  49. 3/9 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 28, 2023
  50. 4/9 SubmittingPatches: discourage new trailersJosh Soref via GitGitGadget, Dec 28, 2023
  51. 5/9 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 28, 2023
  52. 6/9 SubmittingPatches: provide tag naming adviceJosh Soref via GitGitGadget, Dec 28, 2023
  53. 7/9 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 28, 2023
  54. 8/9 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 28, 2023
  55. 9/9 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 28, 2023

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.