Merge branch 'jk/strvec'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2020 17:23:57 +0000 (10:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2020 17:23:57 +0000 (10:23 -0700)
commit46b225f15308c8f77379f864189bed95c273d29f
tree8f909ef2df2d002ccd2c86dc2a9dbdf4aae21c95
parentdc04167d378fb29d30e1647ff6ff51dd182bc9a3
parentd70a9eb611a9d242c1d26847d223b8677609305b
Merge branch 'jk/strvec'

The argv_array API is useful for not just managing argv but any
"vector" (NULL-terminated array) of strings, and has seen adoption
to a certain degree.  It has been renamed to "strvec" to reduce the
barrier to adoption.

* jk/strvec:
  strvec: rename struct fields
  strvec: drop argv_array compatibility layer
  strvec: update documention to avoid argv_array
  strvec: fix indentation in renamed calls
  strvec: convert remaining callers away from argv_array name
  strvec: convert more callers away from argv_array name
  strvec: convert builtin/ callers away from argv_array name
  quote: rename sq_dequote_to_argv_array to mention strvec
  strvec: rename files from argv-array to strvec
  argv-array: rename to strvec
  argv-array: use size_t for count and alloc
14 files changed:
add-patch.c
builtin/bisect--helper.c
builtin/clone.c
builtin/grep.c
builtin/pack-objects.c
column.c
fsmonitor.c
ref-filter.c
refs.c
remote-curl.c
revision.c
sha1-file.c
upload-pack.c
wt-status.c