[PATCH v2 0/5] Non-trivial designated initializer conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See
http://lore.kernel.org/git/cover-0.6-00000000000-20210927T004920Z-avarab@xxxxxxxxx
for the v1 & goals. As noted in
http://lore.kernel.org/git/87lf3i1e7k.fsf@xxxxxxxxxxxxxxxxxxx I
ejected the previous 3/6. It wasn't incorrect, but partially
converting to an *_INIT macro doesn't make any sense in the "struct
shortlog" case.

Ævar Arnfjörð Bjarmason (5):
  daemon.c: refactor hostinfo_init() to HOSTINFO_INIT macro
  builtin/blame.c: refactor commit_info_init() to COMMIT_INFO_INIT macro
  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 +++++++++++++++++++++++------------------------
 credential.c     |   4 +-
 daemon.c         |  19 +++-----
 http.c           |   4 +-
 urlmatch.h       |   4 ++
 7 files changed, 82 insertions(+), 93 deletions(-)

Range-diff against v1:
1:  3130693b416 = 1:  3130693b416 daemon.c: refactor hostinfo_init() to HOSTINFO_INIT macro
2:  65c5295c1ac = 2:  65c5295c1ac builtin/blame.c: refactor commit_info_init() to COMMIT_INFO_INIT macro
3:  c9db107fcb1 < -:  ----------- shortlog: use designated initializer for "struct shortlog"
4:  cb4c81dcc83 = 3:  3783788b553 urlmatch.[ch]: add and use URLMATCH_CONFIG_INIT
5:  1c34c00feb5 = 4:  13ef9566903 builtin/remote.c: add and use a REF_STATES_INIT
6:  76fa070e89c = 5:  b78a9ec0846 builtin/remote.c: add and use SHOW_INFO_INIT
-- 
2.33.0.1316.gb2e9b3ba3ae




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux