diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-22 10:29:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-22 10:29:03 -0700 |
commit | bdfcdefd2f0587873436c950dd7a0798d313eb34 (patch) | |
tree | a87f56e7da3e2b6bbc93dd6e64a86a4a4801a372 /Documentation/technical | |
parent | 6cb3822cfb34487b2e630f8fe0542c4e0dd8b2f2 (diff) | |
parent | f094b89a4d75216736830b5d2286ebc6846a25a9 (diff) | |
download | git-bdfcdefd2f0587873436c950dd7a0798d313eb34.tar.gz git-bdfcdefd2f0587873436c950dd7a0798d313eb34.tar.xz |
Merge branch 'ma/parse-maybe-bool'
Code clean-up.
* ma/parse-maybe-bool:
parse_decoration_style: drop unused argument `var`
treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
config: make git_{config,parse}_maybe_bool equivalent
config: introduce git_parse_maybe_bool_text
t5334: document that git push --signed=1 does not work
Doc/git-{push,send-pack}: correct --sign= to --signed=
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-config.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/technical/api-config.txt b/Documentation/technical/api-config.txt index 20741f345..7a83a3a6e 100644 --- a/Documentation/technical/api-config.txt +++ b/Documentation/technical/api-config.txt @@ -187,6 +187,10 @@ Same as `git_config_bool`, except that integers are returned as-is, and an `is_bool` flag is unset. `git_config_maybe_bool`:: +Deprecated. Use `git_parse_maybe_bool` instead. They are exactly the +same, except this function takes an unused argument `name`. + +`git_parse_maybe_bool`:: Same as `git_config_bool`, except that it returns -1 on error rather than dying. |