Thread (28 messages) flat view 28 messages, 2 authors, 2021-10-02
STALE1807d

Revision v1 of 4 in this series.

Revisions (4)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]

[PATCH 0/6] Non-trivial designated initializer conversion

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-09-27 00:53:25

A sister series to the just-submitted series of trivial designated
initalizer cleanups:
https://lore.kernel.org/git/cover-0.5-00000000000-20210927T003330Z-avarab@gmail.com/ (local)

This doesn't conflict semantically or textually with that series, but
is migrating to easier to manage initialization patterns for the same
reasons.

The code changes are all rather small, the diff in 6/6 looks scary,
but as --word-diff will show most of it schanging x->y to an &x->y and
the like, as two struct members were changed from being pointers.

Ævar Arnfjörð Bjarmason (6):
  daemon.c: refactor hostinfo_init() to HOSTINFO_INIT macro
  builtin/blame.c: refactor commit_info_init() to COMMIT_INFO_INIT macro
  shortlog: use designated initializer for "struct shortlog"
  urlmatch.[ch]: add and use URLMATCH_CONFIG_INIT
  builtin/remote.c: add and use a REF_STATES_INIT
  builtin/remote.c: add and use SHOW_INFO_INIT

 builtin/blame.c    |  30 ++++++------
 builtin/config.c   |   3 +-
 builtin/remote.c   | 111 ++++++++++++++++++++++-----------------------
 builtin/shortlog.c |   2 +-
 credential.c       |   4 +-
 daemon.c           |  19 +++-----
 http.c             |   4 +-
 shortlog.h         |   4 ++
 urlmatch.h         |   4 ++
 9 files changed, 87 insertions(+), 94 deletions(-)

-- 
2.33.0.1316.gb2e9b3ba3ae
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help