Skip to content

Commit 8034b4d

Browse files
committed
Autogenerated HTML docs for v2.49.0-459-gf65182
1 parent e03f599 commit 8034b4d

File tree

4 files changed

+33
-9
lines changed

4 files changed

+33
-9
lines changed

RelNotes/2.50.0.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ Performance, Internal Implementation, Development Support etc.
112112
113113
* Optimize the code to dedup references recorded in a bundle file.
114114
115+
* Update parse-options API to catch mistakes to pass address of an
116+
integral variable of a wrong type/size.
117+
115118
116119
Fixes since v2.49
117120
-----------------
@@ -210,6 +213,17 @@ Fixes since v2.49
210213
any common ancestor, now behaves as expected.
211214
(merge e7ef4be7c2 mh/left-right-limited later to maint).
212215

216+
* Document the convention to disable hooks altogether by setting the
217+
hooksPath configuration variable to /dev/nulll
218+
(merge 1b2eee94f1 ds/doc-disable-hooks later to maint).
219+
220+
* Make sure outage of third-party sites that supply P4, Git-LFS, and
221+
JGit we use for testing would not prevent our CI jobs from running
222+
at all.
223+
224+
* Various build tweaks, including CSPRNG selection on some platforms.
225+
(merge cdda67de03 rj/build-tweaks later to maint).
226+
213227
* Other code cleanup, docfix, build fix, etc.
214228
(merge 227c4f33a0 ja/doc-block-delimiter-markup-fix later to maint).
215229
(merge 2bfd3b3685 ab/decorate-code-cleanup later to maint).

git-config.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3572,6 +3572,12 @@ <h3 id="_variables">Variables</h3>
35723572
alternative to having an <code>init.templateDir</code> where you&#8217;ve changed
35733573
default hooks.</p>
35743574
</div>
3575+
<div class="paragraph">
3576+
<p>You can also disable all hooks entirely by setting <code>core.hooksPath</code>
3577+
to <code>/dev/null</code>. This is usually only advisable for expert users and
3578+
on a per-command basis using configuration parameters of the form
3579+
<code>git</code> <code>-c</code> <code>core.hooksPath=/dev/null</code> ....</p>
3580+
</div>
35753581
</dd>
35763582
<dt class="hdlist1">core.editor</dt>
35773583
<dd>

technical/api-parse-options.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,13 @@ There are some macros to easily define options:
211211
Use of `--no-option` will clear the list of preceding values.
212212
213213
`OPT_INTEGER(short, long, &int_var, description)`::
214-
Introduce an option with integer argument.
215-
The integer is put into `int_var`.
214+
Introduce an option with integer argument. The argument must be a
215+
integer and may include a suffix of 'k', 'm' or 'g' to
216+
scale the provided value by 1024, 1024^2 or 1024^3 respectively.
217+
The scaled value is put into `int_var`.
216218
217-
`OPT_MAGNITUDE(short, long, &unsigned_long_var, description)`::
218-
Introduce an option with a size argument. The argument must be a
219+
`OPT_UNSIGNED(short, long, &unsigned_long_var, description)`::
220+
Introduce an option with an unsigned integer argument. The argument must be a
219221
non-negative integer and may include a suffix of 'k', 'm' or 'g' to
220222
scale the provided value by 1024, 1024^2 or 1024^3 respectively.
221223
The scaled value is put into `unsigned_long_var`.

technical/api-parse-options.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -735,12 +735,14 @@ <h2 id="_data_structure">Data Structure</h2>
735735
</dd>
736736
<dt class="hdlist1"><code>OPT_INTEGER</code>(<code>short,</code> <code>long,</code> &amp;int_var, <code>description</code>)</dt>
737737
<dd>
738-
<p>Introduce an option with integer argument.
739-
The integer is put into <code>int_var</code>.</p>
738+
<p>Introduce an option with integer argument. The argument must be a
739+
integer and may include a suffix of <em>k</em>, <em>m</em> or <em>g</em> to
740+
scale the provided value by 1024, 1024^2 or 1024^3 respectively.
741+
The scaled value is put into <code>int_var</code>.</p>
740742
</dd>
741-
<dt class="hdlist1"><code>OPT_MAGNITUDE</code>(<code>short,</code> <code>long,</code> &amp;unsigned_long_var, <code>description</code>)</dt>
743+
<dt class="hdlist1"><code>OPT_UNSIGNED</code>(<code>short,</code> <code>long,</code> &amp;unsigned_long_var, <code>description</code>)</dt>
742744
<dd>
743-
<p>Introduce an option with a size argument. The argument must be a
745+
<p>Introduce an option with an unsigned integer argument. The argument must be a
744746
non-negative integer and may include a suffix of <em>k</em>, <em>m</em> or <em>g</em> to
745747
scale the provided value by 1024, 1024^2 or 1024^3 respectively.
746748
The scaled value is put into <code>unsigned_long_var</code>.</p>
@@ -923,7 +925,7 @@ <h2 id="_examples">Examples</h2>
923925
</div>
924926
<div id="footer">
925927
<div id="footer-text">
926-
Last updated 2025-02-14 21:38:14 -0800
928+
Last updated 2025-04-24 18:27:36 -0700
927929
</div>
928930
</div>
929931
</body>

0 commit comments

Comments
 (0)