<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/config, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2026-04-17T04:27:22Z</updated>
<entry>
<title>Merge branch 'ds/fetch-negotiation-options' into jch</title>
<updated>2026-04-17T04:27:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-17T04:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=878809dc2ef29cc38c434c135f3e26cf0eb2509f'/>
<id>urn:sha1:878809dc2ef29cc38c434c135f3e26cf0eb2509f</id>
<content type='text'>
The negotiation tip options in "git fetch" have been reworked to
allow requiring certain refs to be sent as "have" lines, and to
restrict negotiation to a specific set of refs.

* ds/fetch-negotiation-options:
  send-pack: pass negotiation config in push
  remote: add negotiationRequire config as default for --negotiation-require
  fetch: add --negotiation-require option for negotiation
  remote: add remote.*.negotiationRestrict config
  transport: rename negotiation_tips
  fetch: add --negotiation-restrict option
  t5516: fix test order flakiness
</content>
</entry>
<entry>
<title>Merge branch 'ar/parallel-hooks' into jch</title>
<updated>2026-04-17T04:27:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-17T04:27:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce948590769dd99ef499149c259f775837c5abce'/>
<id>urn:sha1:ce948590769dd99ef499149c259f775837c5abce</id>
<content type='text'>
* ar/parallel-hooks:
  t1800: test SIGPIPE with parallel hooks
  hook: allow hook.jobs=-1 to use all available CPU cores
  hook: add hook.&lt;event&gt;.enabled switch
  hook: move is_known_hook() to hook.c for wider use
  hook: warn when hook.&lt;friendly-name&gt;.jobs is set
  hook: add per-event jobs config
  hook: add -j/--jobs option to git hook run
  hook: mark non-parallelizable hooks
  hook: allow pre-push parallel execution
  hook: allow parallel hook execution
  hook: parse the hook.jobs config
  config: add a repo_config_get_uint() helper
  repository: fix repo_init() memleak due to missing _clear()
</content>
</entry>
<entry>
<title>Merge branch 'ja/doc-difftool-synopsis-style' into jch</title>
<updated>2026-04-17T04:27:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-17T04:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a81715fdef8aae6339fc8feab0233619baf8ce18'/>
<id>urn:sha1:a81715fdef8aae6339fc8feab0233619baf8ce18</id>
<content type='text'>
Doc mark-up updates.

* ja/doc-difftool-synopsis-style:
  doc: convert git-describe manual page to synopsis style
  doc: convert git-shortlog manual page to synopsis style
  doc: convert git-range-diff manual page to synopsis style
  doc: convert git-difftool manual page to synopsis style
</content>
</entry>
<entry>
<title>Merge branch 'jc/neuter-sideband-fixup' into jch</title>
<updated>2026-04-17T04:27:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-17T04:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=166ba56c424f5db84cb413b75eff85ae559ecf11'/>
<id>urn:sha1:166ba56c424f5db84cb413b75eff85ae559ecf11</id>
<content type='text'>
Try to resurrect and reboot a stalled "avoid sending risky escape
sequences taken from sideband to the terminal" topic by Dscho.  The
plan is to keep it in 'next' long enough to see if anybody screams
with the "everything dropped except for ANSI color escape sequences"
default.

* jc/neuter-sideband-fixup:
  sideband: drop 'default' configuration
  sideband: offer to configure sanitizing on a per-URL basis
  sideband: add options to allow more control sequences to be passed through
  sideband: do allow ANSI color sequences by default
  sideband: introduce an "escape hatch" to allow control characters
  sideband: mask control characters
</content>
</entry>
<entry>
<title>doc: fix grammar errors in submodule description</title>
<updated>2026-04-17T04:22:01Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2026-04-16T23:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e8955061076952cc5eab0300424fc48b601fe12d'/>
<id>urn:sha1:e8955061076952cc5eab0300424fc48b601fe12d</id>
<content type='text'>
6cc6d1b4c699 (Documentation: update add --force option + ignore=all
config, 2026-02-06) added text describing both the ignore=none and
ignore=all behaviors.  The former had minor formatting and grammatical
errors, while the latter was a bit garbled.  I have tried to tweak the
wording on the latter to make it read as I think was intended, and fixed
the minor grammatical issues with both as well.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix plural agreement in pack.preferBitmapTips</title>
<updated>2026-04-17T04:22:01Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2026-04-16T23:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31f23c958be7f727ece4ce0db8b7ddbf1dfb3f79'/>
<id>urn:sha1:31f23c958be7f727ece4ce0db8b7ddbf1dfb3f79</id>
<content type='text'>
hierarchies -&gt; hierarchy

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix self-referential config in sendemail.smtpSSLClientKey</title>
<updated>2026-04-17T04:22:01Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2026-04-16T23:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8ecf2a192acd73112341a7b03a3803635c4f49ae'/>
<id>urn:sha1:8ecf2a192acd73112341a7b03a3803635c4f49ae</id>
<content type='text'>
a8215a205141 (send-email: add client certificate options, 2026-03-02)
added documentation for sendemail.smtpSSLClientKey that says it works
"in conjunction with `sendemail.smtpSSLClientKey`" -- referring to
itself.  It appears that `sendemail.smtpSSLClientCert` was the intended
reference; fix it.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remote: add negotiationRequire config as default for --negotiation-require</title>
<updated>2026-04-15T18:30:40Z</updated>
<author>
<name>Derrick Stolee</name>
<email>stolee@gmail.com</email>
</author>
<published>2026-04-15T15:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=288ea6c3c275d29817efa6e80711701abd041dfe'/>
<id>urn:sha1:288ea6c3c275d29817efa6e80711701abd041dfe</id>
<content type='text'>
Add a new 'remote.&lt;name&gt;.negotiationRequire' multi-valued config option
that provides default values for --negotiation-require when no
--negotiation-require arguments are specified over the command line.
This is a mirror of how 'remote.&lt;name&gt;.negotiationRestrict' specifies
defaults for the --negotiation-restrict arguments.

Each value is either an exact ref name or a glob pattern whose tips
should always be sent as 'have' lines during negotiation. The config
values are resolved through the same resolve_negotiation_require()
codepath as the CLI options.

This option is additive with the normal negotiation process: the
negotiation algorithm still runs and advertises its own selected
commits, but the refs matching the config are sent unconditionally
on top of those heuristically selected commits.

Signed-off-by: Derrick Stolee &lt;stolee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remote: add remote.*.negotiationRestrict config</title>
<updated>2026-04-15T18:30:40Z</updated>
<author>
<name>Derrick Stolee</name>
<email>stolee@gmail.com</email>
</author>
<published>2026-04-15T15:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=203275d13a761d8d4dfecddc0a78beb5daebf51c'/>
<id>urn:sha1:203275d13a761d8d4dfecddc0a78beb5daebf51c</id>
<content type='text'>
In a previous change, the --negotiation-restrict command-line option of
'git fetch' was added as a synonym of --negotiation-tips. Both of these
options restrict the set of 'haves' the client can send as part of
negotiation.

This was previously not available via a configuration option. Add a new
'remote.&lt;name&gt;.negotiationRestrict' multi-valued config option that
updates 'git fetch &lt;name&gt;' to use these restrictions by default.

If the user provides even one --negotiation-restrict argument, then the
config is ignored.

Signed-off-by: Derrick Stolee &lt;stolee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hook: allow hook.jobs=-1 to use all available CPU cores</title>
<updated>2026-04-10T14:58:55Z</updated>
<author>
<name>Adrian Ratiu</name>
<email>adrian.ratiu@collabora.com</email>
</author>
<published>2026-04-10T09:06:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=495b7d54dc006556548e2fd3ca15c4f533917329'/>
<id>urn:sha1:495b7d54dc006556548e2fd3ca15c4f533917329</id>
<content type='text'>
Allow -1 as a value for hook.jobs, hook.&lt;event&gt;.jobs, and the -j
CLI flag to mean "use as many jobs as there are CPU cores", matching
the convention used by fetch.parallel and other Git subsystems.

The value is resolved to online_cpus() at parse time so the rest
of the code always works with a positive resolved count.

Other non-positive values (0, -2, etc) are rejected with a warning
(config) or die (CLI).

Suggested-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Adrian Ratiu &lt;adrian.ratiu@collabora.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
