<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/fetch-options.adoc, branch main</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2026-02-27T23:11:54Z</updated>
<entry>
<title>Merge branch 'db/doc-fetch-jobs-auto'</title>
<updated>2026-02-27T23:11:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-02-27T23:11:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4416ec1ae3cc431e2c441410ebee7da3e87fb66d'/>
<id>urn:sha1:4416ec1ae3cc431e2c441410ebee7da3e87fb66d</id>
<content type='text'>
Doc update.

* db/doc-fetch-jobs-auto:
  doc: fetch: document `--jobs=0` behavior
</content>
</entry>
<entry>
<title>doc: fetch: document `--jobs=0` behavior</title>
<updated>2026-02-19T17:36:59Z</updated>
<author>
<name>Daniel D. Beck</name>
<email>daniel@ddbeck.com</email>
</author>
<published>2026-02-18T19:32:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=143e84958cb0209947a56d656c8e947d736dd4ab'/>
<id>urn:sha1:143e84958cb0209947a56d656c8e947d736dd4ab</id>
<content type='text'>
In c39952b92 (fetch: choose a sensible default with --jobs=0 again,
2023-02-20), the `--jobs=0` behavior was (re)introduced, but it went
undocumented. Since this is the same behavior as `git -c fetch.parallel=0
fetch`, which is documented, this change creates symmetry between the two
documentation sections.

Signed-off-by: Daniel D. Beck &lt;daniel@ddbeck.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fetch-pack: wire up and enable auto filter logic</title>
<updated>2026-02-17T19:46:41Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2026-02-16T13:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ef2f1845ec4b683df791bfd956f551b096a38009'/>
<id>urn:sha1:ef2f1845ec4b683df791bfd956f551b096a38009</id>
<content type='text'>
Previous commits have set up an infrastructure for `--filter=auto` to
automatically prepare a partial clone filter based on what the server
advertised and the client accepted.

Using that infrastructure, let's now enable the `--filter=auto` option
in `git clone` and `git fetch` by setting `allow_auto_filter` to 1.

Note that these small changes mean that when `git clone --filter=auto`
or `git fetch --filter=auto` are used, "auto" is automatically saved
as the partial clone filter for the server on the client. Therefore
subsequent calls to `git fetch` on the client will automatically use
this "auto" mode even without `--filter=auto`.

Let's also set `allow_auto_filter` to 1 in `transport.c`, as the
transport layer must be able to accept the "auto" filter spec even if
the invoking command hasn't fully parsed it yet.

When an "auto" filter is requested, let's have the "fetch-pack.c" code
in `do_fetch_pack_v2()` compute a filter and send it to the server.

In `do_fetch_pack_v2()` the logic also needs to check for the
"promisor-remote" capability and call `promisor_remote_reply()` to
parse advertised remotes and populate the list of those accepted (and
their filters).

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fetch: document `--filter=&lt;filter-spec&gt;` option</title>
<updated>2026-02-17T19:46:40Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2026-02-16T13:23:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=190438b62fa5624077c2ee48065f47e1a56d01a7'/>
<id>urn:sha1:190438b62fa5624077c2ee48065f47e1a56d01a7</id>
<content type='text'>
The `--filter=&lt;filter-spec&gt;` option is documented in most commands that
support it except `git fetch`.

Let's fix that and document this option. To ensure consistency across
commands, let's reuse the exact description currently found in
`git clone`.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: convert git pull to synopsis style</title>
<updated>2025-11-19T23:00:42Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2025-11-19T21:40:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c80a5ebce0e6afe3f9d3f5047f3de524386c40bb'/>
<id>urn:sha1:c80a5ebce0e6afe3f9d3f5047f3de524386c40bb</id>
<content type='text'>
- Switch the synopsis to a synopsis block which will automatically
  format placeholders in italics and keywords in monospace
- Use _&lt;placeholder&gt;_ instead of &lt;placeholder&gt; in the description
- Use `backticks` for keywords and more complex option
descriptions. The new rendering engine will apply synopsis rules to
these spans.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: convert git fetch to synopsis style</title>
<updated>2025-11-19T23:00:37Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2025-11-19T21:40:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=903b04a3e721f4afb337bd48890b69e16c04c5d6'/>
<id>urn:sha1:903b04a3e721f4afb337bd48890b69e16c04c5d6</id>
<content type='text'>
- Switch the synopsis to a synopsis block which will automatically
  format placeholders in italics and keywords in monospace
- Use _&lt;placeholder&gt;_ instead of &lt;placeholder&gt; in the description
- Use `backticks` for keywords and more complex option
descriptions. The new rendering engine will apply synopsis rules to
these spans.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kh/doc-markup-fixes'</title>
<updated>2025-09-12T17:41:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-09-12T17:41:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4097eac99cc59ec55b3a8e7cb1862e5ba6d49595'/>
<id>urn:sha1:4097eac99cc59ec55b3a8e7cb1862e5ba6d49595</id>
<content type='text'>
Doc markup fixes.

* kh/doc-markup-fixes:
  doc: remove extra backtick for inline-verbatim
  doc: add missing backtick for inline-verbatim
</content>
</entry>
<entry>
<title>doc: add missing backtick for inline-verbatim</title>
<updated>2025-09-02T21:59:33Z</updated>
<author>
<name>Kristoffer Haugsbakk</name>
<email>code@khaugsbakk.name</email>
</author>
<published>2025-09-02T20:35:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=bb4a83bb94e9307d9ec9bb87731effa37e58c86a'/>
<id>urn:sha1:bb4a83bb94e9307d9ec9bb87731effa37e58c86a</id>
<content type='text'>
Signed-off-by: Kristoffer Haugsbakk &lt;code@khaugsbakk.name&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: check for absence of the form --[no-]parameter</title>
<updated>2025-08-11T21:16:04Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2025-08-11T20:53:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=03a353bb9759a1c775ba70f1e9ee865fc38291c2'/>
<id>urn:sha1:03a353bb9759a1c775ba70f1e9ee865fc38291c2</id>
<content type='text'>
For better searchability, this commit adds a check to ensure that parameters
expressed in the form of `--[no-]parameter` are not used in the
documentation.  In the place of such parameters, the documentation should
list two separate parameters: `--parameter` and `--no-parameter`.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: use .adoc extension for AsciiDoc files</title>
<updated>2025-01-21T20:56:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2025-01-20T01:56:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1f010d6bdf756129db13d1367c888aa4153f6d87'/>
<id>urn:sha1:1f010d6bdf756129db13d1367c888aa4153f6d87</id>
<content type='text'>
We presently use the ".txt" extension for our AsciiDoc files.  While not
wrong, most editors do not associate this extension with AsciiDoc,
meaning that contributors don't get automatic editor functionality that
could be useful, such as syntax highlighting and prose linting.

It is much more common to use the ".adoc" extension for AsciiDoc files,
since this helps editors automatically detect files and also allows
various forges to provide rich (HTML-like) rendering.  Let's do that
here, renaming all of the files and updating the includes where
relevant.  Adjust the various build scripts and makefiles to use the new
extension as well.

Note that this should not result in any user-visible changes to the
documentation.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
