<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.45.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-03-29T17:57:40Z</updated>
<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>
<entry>
<title>Merge branch 'ja/doc-markup-fixes'</title>
<updated>2024-03-21T21:55:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-03-21T21:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=81ba11b7c47bbe3005360d088215a2433e63c670'/>
<id>urn:sha1:81ba11b7c47bbe3005360d088215a2433e63c670</id>
<content type='text'>
Mark-ups used in the documentation has been improved for
consistency.

* ja/doc-markup-fixes:
  doc: git-clone: format placeholders
  doc: git-clone: format verbatim words
  doc: git-init: rework config item init.templateDir
  doc: git-init: rework definition lists
  doc: git-init: format placeholders
  doc: git-init: format verbatim parts
</content>
</entry>
<entry>
<title>doc: git-clone: format placeholders</title>
<updated>2024-03-11T16:58:11Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-03-10T19:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=45d5ed3e50375a4b1c5d1bf49128aec975b0546d'/>
<id>urn:sha1:45d5ed3e50375a4b1c5d1bf49128aec975b0546d</id>
<content type='text'>
With the new formatting rules, we use _&lt;placeholders&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: git-clone: format verbatim words</title>
<updated>2024-03-11T16:58:11Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-03-10T19:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d3717e1e9ceccc30910622795ed241163660dab7'/>
<id>urn:sha1:d3717e1e9ceccc30910622795ed241163660dab7</id>
<content type='text'>
We also apply the formatting to urls.txt which is included.

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: close unclosed angle-bracket of a placeholder in git-clone doc</title>
<updated>2024-02-20T23:02:27Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2024-02-20T22:32:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2e48553fda1b68777e15d287e0f9ce7d64caa58d'/>
<id>urn:sha1:2e48553fda1b68777e15d287e0f9ce7d64caa58d</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>
<entry>
<title>builtin/clone: introduce `--ref-format=` value flag</title>
<updated>2024-01-02T17:24:48Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2023-12-29T07:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ed860f51b7fa1ca1087c1b0502b199a86db964e'/>
<id>urn:sha1:5ed860f51b7fa1ca1087c1b0502b199a86db964e</id>
<content type='text'>
Introduce a new `--ref-format` value flag for git-clone(1) that allows
the user to specify the ref format that is to be used for a newly
initialized repository.

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>clone: error specifically with --local and symlinked objects</title>
<updated>2023-04-11T15:46:09Z</updated>
<author>
<name>Glen Choo</name>
<email>chooglen@google.com</email>
</author>
<published>2023-04-10T22:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e33535ea98ac16d2163e8e9fcbba5e015881e65'/>
<id>urn:sha1:4e33535ea98ac16d2163e8e9fcbba5e015881e65</id>
<content type='text'>
6f054f9fb3 (builtin/clone.c: disallow --local clones with
symlinks, 2022-07-28) gives a good error message when "git clone
--local" fails when the repo to clone has symlinks in
"$GIT_DIR/objects". In bffc762f87 (dir-iterator: prevent top-level
symlinks without FOLLOW_SYMLINKS, 2023-01-24), we later extended this
restriction to the case where "$GIT_DIR/objects" is itself a symlink,
but we didn't update the error message then - bffc762f87's tests show
that we print a generic "failed to start iterator over" message.

This is exacerbated by the fact that Documentation/git-clone.txt
mentions neither restriction, so users are left wondering if this is
intentional behavior or not.

Fix this by adding a check to builtin/clone.c: when doing a local clone,
perform an extra check to see if "$GIT_DIR/objects" is a symlink, and if
so, assume that that was the reason for the failure and report the
relevant information. Ideally, dir_iterator_begin() would tell us that
the real failure reason is the presence of the symlink, but (as far as I
can tell) there isn't an appropriate errno value for that.

Also, update Documentation/git-clone.txt to reflect that this
restriction exists.

Signed-off-by: Glen Choo &lt;chooglen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/dedup-config-and-command-docs'</title>
<updated>2022-09-14T19:56:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-09-14T19:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7a54d740451c1438b4db009bf2ebe1669c280ef8'/>
<id>urn:sha1:7a54d740451c1438b4db009bf2ebe1669c280ef8</id>
<content type='text'>
Share the text used to explain configuration variables used by "git
&lt;subcmd&gt;" in "git help &lt;subcmd&gt;" with the text from "git help config".

* ab/dedup-config-and-command-docs:
  docs: add CONFIGURATION sections that fuzzy map to built-ins
  docs: add CONFIGURATION sections that map to a built-in
  log docs: de-duplicate configuration sections
  difftool docs: de-duplicate configuration sections
  notes docs: de-duplicate and combine configuration sections
  apply docs: de-duplicate configuration sections
  send-email docs: de-duplicate configuration sections
  grep docs: de-duplicate configuration sections
  docs: add and use include template for config/* includes
</content>
</entry>
<entry>
<title>docs: add CONFIGURATION sections that fuzzy map to built-ins</title>
<updated>2022-09-07T16:46:07Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-09-07T08:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9274dea3d95365c1ed0cd5ef46a9b677ae5c478f'/>
<id>urn:sha1:9274dea3d95365c1ed0cd5ef46a9b677ae5c478f</id>
<content type='text'>
Add a CONFIGURATION section to the documentation of various built-ins,
for those cases where the relevant config/NAME.txt doesn't map only to
one git-NAME.txt. In particular:

 * config/blame.txt: used by git-{blame,annotate}.txt. Since the
   git-annotate(1) documentation refers to git-blame(1) don't add a
   "CONFIGURATION" section to git-annotate(1), only to git-blame(1).

 * config/checkout.txt: maps to both git-checkout.txt and
   git-switch.txt (but nothing else).

 * config/init.txt: should be included in git-init(1) and
   git-clone(1).

 * config/column.txt: We should ideally mention the relevant subset of
   this in git-{branch,clean,status,tag}.txt, but let's punt on it for
   now. We will when we eventually split these sort of files into
   e.g. config/column.txt and
   config/column/{branch,clean,status,tag}.txt, with the former
   including the latter set.

Things that are being left out, and why:

 * config/{remote,remotes,credential}.txt: Configuration that affects
   how we talk to remote repositories is harder to untangle. We'll need
   to include some of this in git-{fetch,remote,push,ls-remote}.txt
   etc., but some of those only use a small subset of these
   options. Let's leave this for now.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Reviewed-by: Matheus Tavares &lt;matheus.bernardino@usp.br&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: add CONFIGURATION sections that map to a built-in</title>
<updated>2022-09-07T16:46:06Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-09-07T08:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16f6b0d1aa598d665ada827cf89bda2112853680'/>
<id>urn:sha1:16f6b0d1aa598d665ada827cf89bda2112853680</id>
<content type='text'>
Add a CONFIGURATION section to the documentation of various built-ins,
for those cases where the relevant config/NAME.txt describes
configuration that is only used by the relevant built-in documented in
git-NAME.txt. Subsequent commits will handle more complex cases.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Reviewed-by: Matheus Tavares &lt;matheus.bernardino@usp.br&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
