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

[PATCH 0/2] dl/format-patch-notes-config-fixup: clean up some leftoverbits

From
Denton Liu <liu.denton@gmail.com>
Date
Dec 12, 2019, 00:49 UTC
Message-ID
<cover.1576111643.git.liu.denton@gmail.com>

This series gives 'dl/format-patch-notes-config-fixup' a few polishing touches. First of all, we document the behaviour of multiple `format.notes` configuration variables so that end-users are aware of the change.

Also, Eric Sunshine suggested some cleanup in the previous round, like breaking the monolithic set_display_notes() into multiple smaller functions and not using the return value of the function to assign to `show_notes`.

Denton Liu (2):
  config/format.txt: clarify behavior of multiple format.notes
  notes: break set_display_notes() into smaller functions
 Documentation/config/format.txt | 18 +++++++++++++-
 builtin/log.c                   |  7 +++++-
 notes.c                         | 43 ++++++++++++++++++---------------
 notes.h                         | 19 +++++++++------
 revision.c                      |  6 ++---
 revision.h                      |  2 +-
 6 files changed, 62 insertions(+), 33 deletions(-)
-- 
2.24.0.627.geba02921db
Next: Denton Liu
Message 1 of 5 in “dl/format-patch-notes-config-fixup: clean up some leftoverbits”
  1. 0/2 dl/format-patch-notes-config-fixup: clean up some leftoverbitsDenton Liu, Dec 12, 2019
  2. 1/2 config/format.txt: clarify behavior of multiple format.notesDenton Liu, Dec 12, 2019
  3. 2/2 notes: break set_display_notes() into smaller functionsDenton Liu, Dec 12, 2019
  4. Eric SunshineDec 18, 2019
  5. notes.h: fix typos in commentDenton Liu, Dec 18, 2019

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.