<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical, branch v2.40.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.40.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.40.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2023-02-16T01:11:52Z</updated>
<entry>
<title>Merge branch 'ds/bundle-uri-5'</title>
<updated>2023-02-16T01:11:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-02-16T01:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f598364519f5bb871caf12a482ed117a270588b'/>
<id>urn:sha1:4f598364519f5bb871caf12a482ed117a270588b</id>
<content type='text'>
The bundle-URI subsystem adds support for creation-token heuristics
to help incremental fetches.

* ds/bundle-uri-5:
  bundle-uri: test missing bundles with heuristic
  bundle-uri: store fetch.bundleCreationToken
  fetch: fetch from an external bundle URI
  bundle-uri: drop bundle.flag from design doc
  clone: set fetch.bundleURI if appropriate
  bundle-uri: download in creationToken order
  bundle-uri: parse bundle.&lt;id&gt;.creationToken values
  bundle-uri: parse bundle.heuristic=creationToken
  t5558: add tests for creationToken heuristic
  bundle: verify using check_connected()
  bundle: test unbundling with incomplete history
</content>
</entry>
<entry>
<title>bundle-uri: drop bundle.flag from design doc</title>
<updated>2023-01-31T16:57:48Z</updated>
<author>
<name>Derrick Stolee</name>
<email>derrickstolee@github.com</email>
</author>
<published>2023-01-31T13:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0524ad3542c48c759366bc49dbd8bed4cc94dc79'/>
<id>urn:sha1:0524ad3542c48c759366bc49dbd8bed4cc94dc79</id>
<content type='text'>
The Implementation Plan section lists a 'bundle.flag' option that is not
documented anywhere else. What is documented elsewhere in the document
and implemented by previous changes is the 'bundle.heuristic' config
key. For now, a heuristic is required to indicate that a bundle list is
organized for use during 'git fetch', and it is also sufficient for all
existing designs.

Signed-off-by: Derrick Stolee &lt;derrickstolee@github.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: render dash correctly</title>
<updated>2023-01-23T17:40:14Z</updated>
<author>
<name>Andrei Rybak</name>
<email>rybak.a.v@gmail.com</email>
</author>
<published>2023-01-23T09:01:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=70661d288b696578f18b56cea1beaa51497da88d'/>
<id>urn:sha1:70661d288b696578f18b56cea1beaa51497da88d</id>
<content type='text'>
Three hyphens are rendered verbatim in documentation, so "--" has to be
used to produce a dash.  Fix asciidoc output for dashes.  This is
similar to previous commits f0b922473e (Documentation: render special
characters correctly, 2021-07-29) and de82095a95 (doc
hash-function-transition: fix asciidoc output, 2021-02-05).

Signed-off-by: Andrei Rybak &lt;rybak.a.v@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'en/sparse-checkout-design'</title>
<updated>2022-11-18T23:44:01Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2022-11-18T23:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e87a229d5756e1d412a907ceb4f1b7abd06060fa'/>
<id>urn:sha1:e87a229d5756e1d412a907ceb4f1b7abd06060fa</id>
<content type='text'>
Design doc.

* en/sparse-checkout-design:
  sparse-checkout.txt: new document with sparse-checkout directions
</content>
</entry>
<entry>
<title>repository-version.txt: partialClone casing change</title>
<updated>2022-11-11T22:23:12Z</updated>
<author>
<name>Kousik Sanagavarapu</name>
<email>five231003@gmail.com</email>
</author>
<published>2022-11-10T16:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29c550f0af6181c424a7c0080edb79c2a2ad32d6'/>
<id>urn:sha1:29c550f0af6181c424a7c0080edb79c2a2ad32d6</id>
<content type='text'>
Remotes are considered "promisor" if extensions.partialClone and some
other configuration variables are set. The casing for this in
Documentation/technical/repository-version.txt is not proper and may
cause confusion. This change corrects this casing.

Signed-off-by: Kousik Sanagavarapu &lt;five231003@gmail.com&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'po/glossary-around-traversal'</title>
<updated>2022-11-08T22:14:51Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2022-11-08T22:14:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b6302c72f523609e35d81db236dc5382ac621a4'/>
<id>urn:sha1:4b6302c72f523609e35d81db236dc5382ac621a4</id>
<content type='text'>
The glossary entries for "commit-graph file" and "reachability
bitmap" have been added.

* po/glossary-around-traversal:
  glossary: add reachability bitmap description
  glossary: add "commit graph" description
  doc: use 'object database' not ODB or abbreviation
  doc: use "commit-graph" hyphenation consistently
</content>
</entry>
<entry>
<title>sparse-checkout.txt: new document with sparse-checkout directions</title>
<updated>2022-11-07T23:15:45Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2022-11-06T06:04:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=20d87d32915beda002e9b1d0be8a681f1aa8634d'/>
<id>urn:sha1:20d87d32915beda002e9b1d0be8a681f1aa8634d</id>
<content type='text'>
Once upon a time, Matheus wrote some patches to make
   git grep [--cached | &lt;REVISION&gt;] ...
restrict its output to the sparsity specification when working in a
sparse checkout[1].  That effort got derailed by two things:

  (1) The --sparse-index work just beginning which we wanted to avoid
      creating conflicts for
  (2) Never deciding on flag and config names and planned high level
      behavior for all commands.

More recently, Shaoxuan implemented a more limited form of Matheus'
patches that only affected --cached, using a different flag name,
but also changing the default behavior in line with what Matheus did.
This again highlighted the fact that we never decided on command line
flag names, config option names, and the big picture path forward.

The --sparse-index work has been mostly complete (or at least released
into production even if some small edges remain) for quite some time
now.  We have also had several discussions on flag and config names,
though we never came to solid conclusions.  Stolee once upon a time
suggested putting all these into some document in
Documentation/technical[3], which Victoria recently also requested[4].
I'm behind the times, but here's a patch attempting to finally do that.

[1] https://lore.kernel.org/git/5f3f7ac77039d41d1692ceae4b0c5df3bb45b74a.1612901326.git.matheus.bernardino@usp.br/
    (See his second link in that email in particular)
[2] https://lore.kernel.org/git/20220908001854.206789-2-shaoxuan.yuan02@gmail.com/
[3] https://lore.kernel.org/git/CABPp-BHwNoVnooqDFPAsZxBT9aR5Dwk5D9sDRCvYSb8akxAJgA@mail.gmail.com/
    (Scroll to the very end for the final few paragraphs)
[4] https://lore.kernel.org/git/cafcedba-96a2-cb85-d593-ef47c8c8397c@github.com/

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
<entry>
<title>doc: use 'object database' not ODB or abbreviation</title>
<updated>2022-10-30T23:58:46Z</updated>
<author>
<name>Philip Oakley</name>
<email>philipoakley@iee.email</email>
</author>
<published>2022-10-29T16:41:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa8e8d5b31f2accfe956e9fd0f67ccb90586ed65'/>
<id>urn:sha1:fa8e8d5b31f2accfe956e9fd0f67ccb90586ed65</id>
<content type='text'>
The abbreviation 'ODB' is used in the technical documentation
sections for commit-graph and parallel-checkout, along with an
'odb' option in `git-pack-redundant`, without expansion.

Use 'object database' in full, in those entries. The text has not
been reflowed to keep the changes minimal.

While in the glossary for `object` terms, add the common`oid`
abbreviation to its entry.

Signed-off-by: Philip Oakley &lt;philipoakley@iee.email&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
<entry>
<title>doc: use "commit-graph" hyphenation consistently</title>
<updated>2022-10-30T23:58:40Z</updated>
<author>
<name>Philip Oakley</name>
<email>philipoakley@iee.email</email>
</author>
<published>2022-10-29T16:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=776ba91a5e3349479139e9a51a135d4bc838b613'/>
<id>urn:sha1:776ba91a5e3349479139e9a51a135d4bc838b613</id>
<content type='text'>
Note, historical release notes have not been updated.

Signed-off-by: Philip Oakley &lt;philipoakley@iee.email&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
</content>
</entry>
<entry>
<title>trace2: add global counter mechanism</title>
<updated>2022-10-24T19:45:26Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2022-10-24T13:41:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=81071626ba1ec54ad72de1e0a9a49c78eb87a2c8'/>
<id>urn:sha1:81071626ba1ec54ad72de1e0a9a49c78eb87a2c8</id>
<content type='text'>
Add global counters mechanism to Trace2.

The Trace2 counters mechanism adds the ability to create a set of
global counter variables and an API to increment them efficiently.
Counters can optionally report per-thread usage in addition to the sum
across all threads.

Counter events are emitted to the Trace2 logs when a thread exits and
at process exit.

Counters are an alternative to `data` and `data_json` events.

Counters are useful when you want to measure something across the life
of the process, when you don't want per-measurement events for
performance reasons, when the data does not fit conveniently within a
region, or when your control flow does not easily let you write the
final total.  For example, you might use this to report the number of
calls to unzip() or the number of de-delta steps during a checkout.

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
