summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-08-03 15:10:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-03 15:10:25 -0700
commitd083d420b7d24a57cfd32af71100ae4c887f3a39 (patch)
tree99cd4d8f9c8408dfdab7739fb467fab3d5559ff0 /attr.c
parentMerge branch 'sb/push-options' (diff)
parentparse_options: allocate a new array when concatenating (diff)
downloadtgif-d083d420b7d24a57cfd32af71100ae4c887f3a39.tar.xz
Merge branch 'jk/parse-options-concat'
Users of the parse_options_concat() API function need to allocate extra slots in advance and fill them with OPT_END() when they want to decide the set of supported options dynamically, which makes the code error-prone and hard to read. This has been corrected by tweaking the API to allocate and return a new copy of "struct option" array. * jk/parse-options-concat: parse_options: allocate a new array when concatenating
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions