git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dl/format-patch-notes-config-fixup: clean up some leftoverbits
@ 2019-12-12  0:49 Denton Liu
  2019-12-12  0:49 ` [PATCH 1/2] config/format.txt: clarify behavior of multiple format.notes Denton Liu
  2019-12-12  0:49 ` [PATCH 2/2] notes: break set_display_notes() into smaller functions Denton Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Denton Liu @ 2019-12-12  0:49 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Elijah Newren, Eric Sunshine, Philip Oakley

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-18 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12  0:49 [PATCH 0/2] dl/format-patch-notes-config-fixup: clean up some leftoverbits Denton Liu
2019-12-12  0:49 ` [PATCH 1/2] config/format.txt: clarify behavior of multiple format.notes Denton Liu
2019-12-12  0:49 ` [PATCH 2/2] notes: break set_display_notes() into smaller functions Denton Liu
2019-12-18 16:18   ` Eric Sunshine
2019-12-18 18:17     ` [PATCH] notes.h: fix typos in comment Denton Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).