<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git.txt, branch v2.45.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-03-25T23:16:34Z</updated>
<entry>
<title>Merge branch 'ja/doc-formatting-fix'</title>
<updated>2024-03-25T23:16:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-03-25T23:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0cb25d17445f848df13b971cb866c63c8f273b01'/>
<id>urn:sha1:0cb25d17445f848df13b971cb866c63c8f273b01</id>
<content type='text'>
Documentation mark-up fix.

* ja/doc-formatting-fix:
  doc: fix some placeholders formating
  doc: format alternatives in synopsis
</content>
</entry>
<entry>
<title>doc: fix some placeholders formating</title>
<updated>2024-03-16T17:04:53Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-03-16T15:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=67471bc704434412b367b570ad330330354598ed'/>
<id>urn:sha1:67471bc704434412b367b570ad330330354598ed</id>
<content type='text'>
Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Acked-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/no-lazy-fetch'</title>
<updated>2024-03-07T23:59:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-03-07T23:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c206fc82abb3ae3d8a5fb5b3c07c1a933007f31'/>
<id>urn:sha1:2c206fc82abb3ae3d8a5fb5b3c07c1a933007f31</id>
<content type='text'>
"git --no-lazy-fetch cmd" allows to run "cmd" while disabling lazy
fetching of objects from the promisor remote, which may be handy
for debugging.

* jc/no-lazy-fetch:
  git: extend --no-lazy-fetch to work across subprocesses
  git: document GIT_NO_REPLACE_OBJECTS environment variable
  git: --no-lazy-fetch option
</content>
</entry>
<entry>
<title>git: extend --no-lazy-fetch to work across subprocesses</title>
<updated>2024-02-27T17:53:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-27T16:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6d5479e7ac301ae8d11daa3d8ef748e891c91c3'/>
<id>urn:sha1:e6d5479e7ac301ae8d11daa3d8ef748e891c91c3</id>
<content type='text'>
Modeling after how the `--no-replace-objects` option is made usable
across subprocess spawning (e.g., cURL based remote helpers are
spawned as a separate process while running "git fetch"), allow the
`--no-lazy-fetch` option to be passed across process boundaries.

Do not model how the value of GIT_NO_REPLACE_OBJECTS environment
variable is ignored, though.  Just use the usual git_env_bool() to
allow "export GIT_NO_LAZY_FETCH=0" and "unset GIT_NO_LAZY_FETCH"
to be equivalents.

Also do not model how the request is not propagated to subprocesses
we spawn (e.g. "git clone --local" that spawns a new process to work
in the origin repository, while the original one working in the
newly created one) by the "--no-replace-objects" option, as this "do
not lazily fetch from the promisor" is more about a per-request
debugging aid, not "this repository's promisor should not be relied
upon" property specific to a repository.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git: document GIT_NO_REPLACE_OBJECTS environment variable</title>
<updated>2024-02-27T06:08:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-16T17:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3806f7633f69d44a2ade95b92ba21fb59362f4e'/>
<id>urn:sha1:b3806f7633f69d44a2ade95b92ba21fb59362f4e</id>
<content type='text'>
This variable is used as the primary way to disable the object
replacement mechanism, with the "--no-replace-objects" command line
option as an end-user visible way to set it, but has not been
documented.

The original reason why it was left undocumented might be because it
was meant as an internal implementation detail, but the thing is,
that our tests use the environment variable directly without the
command line option, and there certainly are folks who learned its
use from there, making it impossible to deprecate or change its
behaviour by now.

Add documentation and note that for this variable, unlike many
boolean-looking environment variables, only the presence matters,
not what value it is set to.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git: --no-lazy-fetch option</title>
<updated>2024-02-13T20:53:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-08T23:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c784b0a5b991cc8ee179b8f3a8fc0b762708947d'/>
<id>urn:sha1:c784b0a5b991cc8ee179b8f3a8fc0b762708947d</id>
<content type='text'>
Sometimes, especially during tests of low level machinery, it is
handy to have a way to disable lazy fetching of objects.  This
allows us to say, for example, "git cat-file -e &lt;object-name&gt;", to
see if the object is locally available.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ja/doc-placeholders-fix'</title>
<updated>2024-02-08T21:20:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-08T21:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2a10505a77b4f7e8a8d51387638182edd280d2b3'/>
<id>urn:sha1:2a10505a77b4f7e8a8d51387638182edd280d2b3</id>
<content type='text'>
Docfix.

* ja/doc-placeholders-fix:
  doc: enforce placeholders in documentation
  doc: enforce dashes in placeholders
</content>
</entry>
<entry>
<title>Merge branch 'ps/refstorage-extension'</title>
<updated>2024-01-16T18:11:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-01-16T18:11:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=32c6fc3e3036613d80f1217a833d9f3868717b41'/>
<id>urn:sha1:32c6fc3e3036613d80f1217a833d9f3868717b41</id>
<content type='text'>
Introduce a new extension "refstorage" so that we can mark a
repository that uses a non-default ref backend, like reftable.

* ps/refstorage-extension:
  t9500: write "extensions.refstorage" into config
  builtin/clone: introduce `--ref-format=` value flag
  builtin/init: introduce `--ref-format=` value flag
  builtin/rev-parse: introduce `--show-ref-format` flag
  t: introduce GIT_TEST_DEFAULT_REF_FORMAT envvar
  setup: introduce GIT_DEFAULT_REF_FORMAT envvar
  setup: introduce "extensions.refStorage" extension
  setup: set repository's formats on init
  setup: start tracking ref storage format
  refs: refactor logic to look up storage backends
  worktree: skip reading HEAD when repairing worktrees
  t: introduce DEFAULT_REPO_FORMAT prereq
</content>
</entry>
<entry>
<title>Merge branch 'cp/git-flush-is-an-env-bool'</title>
<updated>2024-01-13T00:09:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-01-13T00:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3049bbb97c9c0d0292bc9239e976cc661961f39'/>
<id>urn:sha1:b3049bbb97c9c0d0292bc9239e976cc661961f39</id>
<content type='text'>
Unlike other environment variables that took the usual
true/false/yes/no as well as 0/1, GIT_FLUSH only understood 0/1,
which has been corrected.

* cp/git-flush-is-an-env-bool:
  write-or-die: make GIT_FLUSH a Boolean environment variable
</content>
</entry>
<entry>
<title>write-or-die: make GIT_FLUSH a Boolean environment variable</title>
<updated>2024-01-04T18:32:21Z</updated>
<author>
<name>Chandra Pratap</name>
<email>chandrapratap3519@gmail.com</email>
</author>
<published>2024-01-04T10:20:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=556e68032f8248c831e48207e5cb923c9fe0e42c'/>
<id>urn:sha1:556e68032f8248c831e48207e5cb923c9fe0e42c</id>
<content type='text'>
Among Git's environment variables, the ones marked as "Boolean"
accept values in a way similar to Boolean configuration variables,
i.e. values like 'yes', 'on', 'true' and positive numbers are
taken as "on" and values like 'no', 'off', 'false' are taken as
"off".

GIT_FLUSH can be used to force Git to use non-buffered I/O when
writing to stdout. It can only accept two values, '1' which causes
Git to flush more often and '0' which makes all output buffered.
Make GIT_FLUSH accept more values besides '0' and '1' by turning it
into a Boolean environment variable, modifying the required logic.
Update the related documentation.

Signed-off-by: Chandra Pratap &lt;chandrapratap3519@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
