<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/worktree.c, branch v2.43.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.43.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.43.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-02-13T22:44:48Z</updated>
<entry>
<title>Merge branch 'jc/comment-style-fixes' into maint-2.43</title>
<updated>2024-02-13T22:44:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-13T22:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a1cd814f1f2cba217a6f9dd2504139603e44822f'/>
<id>urn:sha1:a1cd814f1f2cba217a6f9dd2504139603e44822f</id>
<content type='text'>
Rewrite //-comments to /* comments */ in files whose comments
prevalently use the latter.

* jc/comment-style-fixes:
  reftable/pq_test: comment style fix
  merge-ort.c: comment style fix
  builtin/worktree: comment style fixes
</content>
</entry>
<entry>
<title>Merge branch 'jc/orphan-unborn' into maint-2.43</title>
<updated>2024-02-09T00:22:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-02-09T00:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=974c9369aa98037b0059e4257144f01af62fae71'/>
<id>urn:sha1:974c9369aa98037b0059e4257144f01af62fae71</id>
<content type='text'>
Doc updates to clarify what an "unborn branch" means.

* jc/orphan-unborn:
  orphan/unborn: fix use of 'orphan' in end-user facing messages
  orphan/unborn: add to the glossary and use them consistently
</content>
</entry>
<entry>
<title>builtin/worktree: comment style fixes</title>
<updated>2024-01-29T22:08:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-01-29T20:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=777f7838415f6e83c350a39b8119e38794a04739'/>
<id>urn:sha1:777f7838415f6e83c350a39b8119e38794a04739</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>worktree: simplify incompatibility message for --orphan and commit-ish</title>
<updated>2023-12-08T22:41:03Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2023-12-06T11:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=792b86283b13fb2e06b9e62c64fca51b879d0266'/>
<id>urn:sha1:792b86283b13fb2e06b9e62c64fca51b879d0266</id>
<content type='text'>
Use a single translatable string to report that the worktree add option
--orphan is incompatible with a commit-ish instead of having the
commit-ish in a separate translatable string.  This reduces the number
of strings to translate and gives translators the full context.

A similar message is used in builtin/describe.c, but with the plural of
commit-ish, and here we need the singular form.

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>worktree: standardize incompatibility messages</title>
<updated>2023-12-08T22:41:03Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2023-12-06T11:52:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62bc6dd33c9cfc3fe155f46dc91d1c9056464dde'/>
<id>urn:sha1:62bc6dd33c9cfc3fe155f46dc91d1c9056464dde</id>
<content type='text'>
Use the standard parameterized message for reporting incompatible
options for worktree add.  This reduces the number of strings to
translate and makes the UI slightly more consistent.

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>orphan/unborn: fix use of 'orphan' in end-user facing messages</title>
<updated>2023-11-24T03:11:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-11-24T03:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d44b517137ab0d869c81bd532163c3e3e85481e6'/>
<id>urn:sha1:d44b517137ab0d869c81bd532163c3e3e85481e6</id>
<content type='text'>
"orphan branch" is not even grammatical ("orphaned branch" is), and
we have been using "unborn branch" to mean the state where the HEAD
points at a branch that does not yet exist.

Update end-user facing messages to correct them.  There are cases
other random words are used (e.g., "unparented branch") but now we
have a glossary entry, use the term "unborn branch" consistently.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>worktree: mark unused parameters in each_ref_fn callback</title>
<updated>2023-08-30T00:56:24Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2023-08-29T23:45:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bbfc4f53b9622ba996c1cd083eaa6cb10d84f6d0'/>
<id>urn:sha1:bbfc4f53b9622ba996c1cd083eaa6cb10d84f6d0</id>
<content type='text'>
This is similar to the cases in 63e14ee2d6 (refs: mark unused
each_ref_fn parameters, 2022-08-19), but it was added after that commit.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ja/worktree-orphan'</title>
<updated>2023-08-25T17:37:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-08-25T17:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=05c860356430814f25cb523ca4a40c9f6831c5d0'/>
<id>urn:sha1:05c860356430814f25cb523ca4a40c9f6831c5d0</id>
<content type='text'>
Typofix in an error message.

* ja/worktree-orphan:
  builtin/worktree.c: fix typo in "forgot fetch" msg
</content>
</entry>
<entry>
<title>builtin/worktree.c: fix typo in "forgot fetch" msg</title>
<updated>2023-08-13T23:35:37Z</updated>
<author>
<name>Jacob Abel</name>
<email>jacobabel@nullpo.dev</email>
</author>
<published>2023-08-11T23:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdc9914c28355a09a55725b2cd1798446b76d615'/>
<id>urn:sha1:fdc9914c28355a09a55725b2cd1798446b76d615</id>
<content type='text'>
Replace misspelled word "overide" with correctly spelled "override".

Reported-By: Teng Long &lt;dyroneteng@gmail.com&gt;
Signed-off-by: Jacob Abel &lt;jacobabel@nullpo.dev&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ja/worktree-orphan-fix'</title>
<updated>2023-08-04T17:52:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-08-04T17:52:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d060018467d5a8d05349294baad426d5407414d'/>
<id>urn:sha1:4d060018467d5a8d05349294baad426d5407414d</id>
<content type='text'>
Fix tests with unportable regex patterns.

* ja/worktree-orphan-fix:
  t2400: rewrite regex to avoid unintentional PCRE
  builtin/worktree.c: convert tab in advice to space
  t2400: drop no-op `--sq` from rev-parse call
</content>
</entry>
</feed>
