Skip to content

Avoid passing global comment_line_char repeatedly

Jonathan Tan git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v1 RFC3 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4strbuf_commented_addf(): drop the comment_line_char parameteradd-patch.c builtin/branch.c builtin/merge.c +6 more+19 -180 replies
2/4strbuf_add_commented_lines(): drop the comment_line_char parameterbuiltin/notes.c builtin/stripspace.c fmt-merge-msg.c +5 more+21 -280 replies
3/4strbuf: make add_lines() publicstrbuf.c strbuf.h+15 -111 reply
4/4strbuf: move env-using functions to environment.cenvironment.c environment.h strbuf.c +1 more+46 -471 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Avoid passing global comment_line_char repeatedly

Here's an updated patchset. The first 2 are the exact same as what Junio has sent.

Jonathan Tan (2):
strbuf: make add_lines() public
strbuf: move env-using functions to environment.c

Junio C Hamano (2):
strbuf_commented_addf(): drop the comment_line_char parameter strbuf_add_commented_lines(): drop the comment_line_char parameter

 add-patch.c          |  8 +++----
 builtin/branch.c     |  2 +-
 builtin/merge.c      |  8 +++----
 builtin/notes.c      |  9 ++++----
 builtin/stripspace.c |  2 +-
 builtin/tag.c        |  4 ++--
 environment.c        | 32 +++++++++++++++++++++++++++
 environment.h        | 14 ++++++++++++
 fmt-merge-msg.c      |  9 +++-----
 rebase-interactive.c |  8 +++----
 sequencer.c          | 14 ++++++------
 strbuf.c             | 51 +++++++++-----------------------------------
 strbuf.h             | 20 ++++-------------
 wt-status.c          |  6 +++---
 14 files changed, 92 insertions(+), 95 deletions(-)
Signature · 1 line
2.42.0.820.g83a721a137-goog