<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/config, branch v2.45.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-04-23T22:05:56Z</updated>
<entry>
<title>Merge branch 'ps/run-auto-maintenance-in-receive-pack'</title>
<updated>2024-04-23T22:05:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-23T22:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c7ffafcea5fe37d435cc684d59eee91696dfb9f'/>
<id>urn:sha1:5c7ffafcea5fe37d435cc684d59eee91696dfb9f</id>
<content type='text'>
The "receive-pack" program (which responds to "git push") was not
converted to run "git maintenance --auto" when other codepaths that
used to run "git gc --auto" were updated, which has been corrected.

* ps/run-auto-maintenance-in-receive-pack:
  builtin/receive-pack: convert to use git-maintenance(1)
  run-command: introduce function to prepare auto-maintenance process
</content>
</entry>
<entry>
<title>builtin/receive-pack: convert to use git-maintenance(1)</title>
<updated>2024-04-17T15:42:26Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2024-04-17T06:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7bf3057d9cf569bcbdf3c1b43cce0eacde98a20b'/>
<id>urn:sha1:7bf3057d9cf569bcbdf3c1b43cce0eacde98a20b</id>
<content type='text'>
In 850b6edefa (auto-gc: extract a reusable helper from "git fetch",
2020-05-06), we have introduced a helper function `run_auto_gc()` that
kicks off `git gc --auto`. The intent of this function was to pass down
the "--quiet" flag to git-gc(1) as required without duplicating this at
all callsites. In 7c3e9e8cfb (auto-gc: pass --quiet down from am,
commit, merge and rebase, 2020-05-06) we then converted callsites that
need to pass down this flag to use the new helper function. This has the
notable omission of git-receive-pack(1), which is the only remaining
user of `git gc --auto` that sets up the proccess manually. This is
probably because it unconditionally passes down the `--quiet` flag and
thus didn't benefit much from the new helper function.

In a95ce12430 (maintenance: replace run_auto_gc(), 2020-09-17) we then
replaced `run_auto_gc()` with `run_auto_maintenance()` which invokes
git-maintenance(1) instead of git-gc(1). This command is the modern
replacement for git-gc(1) and is both more thorough and also more
flexible because administrators can configure which tasks exactly to run
during maintenance.

But due to git-receive-pack(1) not using `run_auto_gc()` in the first
place it did not get converted to use git-maintenance(1) like we do
everywhere else now. Address this oversight and start to use the newly
introduced function `prepare_auto_maintenance()`. This will also make it
easier for us to adapt this code together with all the other callsites
that invoke auto-maintenance in the future.

This removes the last internal user of `git gc --auto`.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ds/typofix-core-config-doc'</title>
<updated>2024-04-10T17:00:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-10T17:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dc89c599518596d59ab9dba79ebfb9cdcab1994f'/>
<id>urn:sha1:dc89c599518596d59ab9dba79ebfb9cdcab1994f</id>
<content type='text'>
Typofix.

* ds/typofix-core-config-doc:
  config: fix some small capitalization issues, as spotted
</content>
</entry>
<entry>
<title>Merge branch 'ja/doc-markup-updates'</title>
<updated>2024-04-09T21:31:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-09T21:31:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=58dd7e4b116b1705cd809604a305de173ecc39e4'/>
<id>urn:sha1:58dd7e4b116b1705cd809604a305de173ecc39e4</id>
<content type='text'>
Documentation rules has been explicitly described how to mark-up
literal parts and a few manual pages have been updated as examples.

* ja/doc-markup-updates:
  doc: git-clone: do not autoreference the manpage in itself
  doc: git-clone: apply new documentation formatting guidelines
  doc: git-init: apply new documentation formatting guidelines
  doc: allow literal and emphasis format in doc vs help tests
  doc: rework CodingGuidelines with new formatting rules
</content>
</entry>
<entry>
<title>Merge branch 'jk/core-comment-string'</title>
<updated>2024-04-05T17:49:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-05T17:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dce1e0b6daaa872a3b88724d9aa1b087c95e8754'/>
<id>urn:sha1:dce1e0b6daaa872a3b88724d9aa1b087c95e8754</id>
<content type='text'>
core.commentChar used to be limited to a single byte, but has been
updated to allow an arbitrary multi-byte sequence.

* jk/core-comment-string:
  config: add core.commentString
  config: allow multi-byte core.commentChar
  environment: drop comment_line_char compatibility macro
  wt-status: drop custom comment-char stringification
  sequencer: handle multi-byte comment characters when writing todo list
  find multi-byte comment chars in unterminated buffers
  find multi-byte comment chars in NUL-terminated strings
  prefer comment_line_str to comment_line_char for printing
  strbuf: accept a comment string for strbuf_add_commented_lines()
  strbuf: accept a comment string for strbuf_commented_addf()
  strbuf: accept a comment string for strbuf_stripspace()
  environment: store comment_line_char as a string
  strbuf: avoid shadowing global comment_line_char name
  commit: refactor base-case of adjust_comment_line_char()
  strbuf: avoid static variables in strbuf_add_commented_lines()
  strbuf: simplify comment-handling in add_lines() helper
  config: forbid newline as core.commentChar
</content>
</entry>
<entry>
<title>Merge branch 'ds/grep-doc-updates'</title>
<updated>2024-04-03T17:56:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-03T17:56:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e4193dcf127ec46704dcc637af083b01302383b0'/>
<id>urn:sha1:e4193dcf127ec46704dcc637af083b01302383b0</id>
<content type='text'>
Documentation updates.

* ds/grep-doc-updates:
  grep docs: describe --no-index further and improve formatting a bit
  grep docs: describe --recurse-submodules further and improve formatting a bit
</content>
</entry>
<entry>
<title>Merge branch 'pb/advice-merge-conflict'</title>
<updated>2024-04-01T20:21:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-04-01T20:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac16f55697211ae4ef557706a098b8ed34a7fda6'/>
<id>urn:sha1:ac16f55697211ae4ef557706a098b8ed34a7fda6</id>
<content type='text'>
Hints that suggest what to do after resolving conflicts can now be
squelched by disabling advice.mergeConflict.

Acked-by: Phillip Wood &lt;phillip.wood123@gmail.com&gt;
cf. &lt;e040c631-42d9-4501-a7b8-046f8dac6309@gmail.com&gt;

* pb/advice-merge-conflict:
  builtin/am: allow disabling conflict advice
  sequencer: allow disabling conflict advice
</content>
</entry>
<entry>
<title>config: fix some small capitalization issues, as spotted</title>
<updated>2024-03-31T23:01:52Z</updated>
<author>
<name>Dragan Simic</name>
<email>dsimic@manjaro.org</email>
</author>
<published>2024-03-31T20:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8b68b48d5cafbd9c7fad622cdb3eed0dc77fc473'/>
<id>urn:sha1:8b68b48d5cafbd9c7fad622cdb3eed0dc77fc473</id>
<content type='text'>
Fix some small capitalization issues, as spotted while going through the
documentation.  In general, a semicolon doesn't start a new sentence, and
"this" has no meaning of a proper noun in this context.

Signed-off-by: Dragan Simic &lt;dsimic@manjaro.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: git-clone: do not autoreference the manpage in itself</title>
<updated>2024-03-29T17:57:41Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-03-29T11:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ebb55042a4416a07c27ba45eeb24e6ff1899f360'/>
<id>urn:sha1:ebb55042a4416a07c27ba45eeb24e6ff1899f360</id>
<content type='text'>
Auto-reference in man pages is a confusion factor.

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: git-clone: apply new documentation formatting guidelines</title>
<updated>2024-03-29T17:57:40Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-03-29T11:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=76880f0510c6be9f6385f2d43dcfcba4eca9ccbc'/>
<id>urn:sha1:76880f0510c6be9f6385f2d43dcfcba4eca9ccbc</id>
<content type='text'>
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>
</feed>
