Revision 60b84ba26c588c09759b90b96e072cceb862a859 authored by Junio C Hamano on 10 August 2016, 18:55:23 UTC, committed by Junio C Hamano on 10 August 2016, 18:55:24 UTC
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
2 parent s dbc5276 + 023ff39
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 10.6 KB
TEAMS -rw-r--r-- 2.0 KB
bg.po -rw-r--r-- 478.2 KB
ca.po -rw-r--r-- 348.0 KB
de.po -rw-r--r-- 391.8 KB
fr.po -rw-r--r-- 386.3 KB
git.pot -rw-r--r-- 237.1 KB
is.po -rw-r--r-- 3.1 KB
it.po -rw-r--r-- 128.2 KB
ko.po -rw-r--r-- 382.7 KB
pt_PT.po -rw-r--r-- 367.4 KB
ru.po -rw-r--r-- 452.8 KB
sv.po -rw-r--r-- 373.9 KB
vi.po -rw-r--r-- 414.5 KB
zh_CN.po -rw-r--r-- 347.3 KB

README

back to top