<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.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-25T19:54:17Z</updated>
<entry>
<title>Merge branch 'cc/lop-filter-auto'</title>
<updated>2026-02-25T19:54:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-02-25T19:54:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6b5ad01886b9492d8662509604277fc88e705dcb'/>
<id>urn:sha1:6b5ad01886b9492d8662509604277fc88e705dcb</id>
<content type='text'>
"auto filter" logic for large-object promisor remote.

* cc/lop-filter-auto:
  fetch-pack: wire up and enable auto filter logic
  promisor-remote: change promisor_remote_reply()'s signature
  promisor-remote: keep advertised filters in memory
  list-objects-filter-options: support 'auto' mode for --filter
  doc: fetch: document `--filter=&lt;filter-spec&gt;` option
  fetch: make filter_options local to cmd_fetch()
  clone: make filter_options local to cmd_clone()
  promisor-remote: allow a client to store fields
  promisor-remote: refactor initialising field lists
</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: fix some style issues in git-clone and for-each-ref-options</title>
<updated>2026-02-06T05:14:05Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2026-02-06T04:12:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ccaca2c4751b380e0268c061268e3f5cc419fcdb'/>
<id>urn:sha1:ccaca2c4751b380e0268c061268e3f5cc419fcdb</id>
<content type='text'>
 * spell out all forms of --[no-]reject-shallow in git-clone
 * use imperative mood for the first line of options
 * Use asciidoc NOTE macro
 * fix markups

Reviewed-by: Kristoffer Haugsbakk &lt;kristofferhaugsbakk@fastmail.com&gt;
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: finalize git-clone documentation conversion to synopsis style</title>
<updated>2026-02-06T05:14:05Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2026-02-06T04:12:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4f29c685348d767b335c00fe84d01ea6e7d20d38'/>
<id>urn:sha1:4f29c685348d767b335c00fe84d01ea6e7d20d38</id>
<content type='text'>
Use backticks where appropriate for command-line options

Reviewed-by: Kristoffer Haugsbakk &lt;kristofferhaugsbakk@fastmail.com&gt;
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 'ja/doc-lint-sections-and-synopsis'</title>
<updated>2025-08-25T21:22:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-08-25T21:22:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0d8f4ccfe3b13bb5eb95f030dc5fe76efb255397'/>
<id>urn:sha1:0d8f4ccfe3b13bb5eb95f030dc5fe76efb255397</id>
<content type='text'>
Doc lint updates to encourage the newer and easier-to-use
`synopsis` format, with fixes to a handful of existing uses.

* ja/doc-lint-sections-and-synopsis:
  doc lint: check that synopsis manpages have synopsis inlines
  doc:git-for-each-ref: fix styling and typos
  doc: check for absence of the form --[no-]parameter
  doc: check for absence of multiple terms in each entry of desc list
  doc: check well-formedness of delimited sections
  doc: test linkgit macros for well-formedness
</content>
</entry>
<entry>
<title>Merge branch 'kr/clone-synopsis-fix'</title>
<updated>2025-08-22T20:13:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-08-22T20:13:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7bbe59425cb08c4f128b1080365a51c5fbc1026b'/>
<id>urn:sha1:7bbe59425cb08c4f128b1080365a51c5fbc1026b</id>
<content type='text'>
Doc fix.

* kr/clone-synopsis-fix:
  docs: remove stray bracket from git-clone synopsis
</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>Merge branch 'ma/clone-doc-markup-fix'</title>
<updated>2025-03-12T19:06:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-03-12T19:06:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=066590497ea492cc14bea7f3790eae59b2d957fd'/>
<id>urn:sha1:066590497ea492cc14bea7f3790eae59b2d957fd</id>
<content type='text'>
Doc markup fix.

* ma/clone-doc-markup-fix:
  git-clone doc: fix indentation
</content>
</entry>
<entry>
<title>Merge branch 'tc/clone-single-revision'</title>
<updated>2025-02-15T01:53:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-02-15T01:53:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5785d9143bcb3ef19452a83bc2e870ff3d5ed95a'/>
<id>urn:sha1:5785d9143bcb3ef19452a83bc2e870ff3d5ed95a</id>
<content type='text'>
"git clone" learned to make a shallow clone for a single commit
that is not necessarily be at the tip of any branch.

* tc/clone-single-revision:
  builtin/clone: teach git-clone(1) the --revision= option
  parse-options: introduce die_for_incompatible_opt2()
  clone: introduce struct clone_opts in builtin/clone.c
  clone: add tags refspec earlier to fetch refspec
  clone: refactor wanted_peer_refs()
  clone: make it possible to specify --tags
  clone: cut down on global variables in clone.c
</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>
