summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-08 12:00:16 -0700
committerJunio C Hamano <gitster@pobox.com>2014-04-08 12:00:17 -0700
commitb389e04031ffe4c725161a082ff748bd33688641 (patch)
treebb76d767a8c91617cccb15f15371240360b4fd64 /Documentation
parented15e20ba36eaf85453915ef5130a770caa8d3e7 (diff)
parent20d1c6528c76242581e89c271679d35884d916dc (diff)
downloadgit-b389e04031ffe4c725161a082ff748bd33688641.tar.gz
Merge branch 'mr/opt-set-ptr'
OPT_SET_PTR() implementation was broken on IL32P64 platforms; it turns out that the macro is not used by any real user. * mr/opt-set-ptr: parse-options: remove unused OPT_SET_PTR parse-options: add cast to correct pointer type to OPT_SET_PTR MSVC: fix t0040-parse-options crash
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/api-parse-options.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index be50cf4de3..1f2db31312 100644
--- a/Documentation/technical/api-parse-options.txt
+++ b/Documentation/technical/api-parse-options.txt
@@ -160,10 +160,6 @@ There are some macros to easily define options:
`int_var` is set to `integer` with `--option`, and
reset to zero with `--no-option`.
-`OPT_SET_PTR(short, long, &ptr_var, description, ptr)`::
- Introduce a boolean option.
- If used, set `ptr_var` to `ptr`.
-
`OPT_STRING(short, long, &str_var, arg_str, description)`::
Introduce an option with string argument.
The string argument is put into `str_var`.