<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/completion/git-completion.bash, branch v2.48.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.48.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.48.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-11-25T02:59:18Z</updated>
<entry>
<title>completion: complete '--tool-help' in 'git mergetool'</title>
<updated>2024-11-25T02:59:18Z</updated>
<author>
<name>Philippe Blain</name>
<email>levraiphilippeblain@gmail.com</email>
</author>
<published>2024-11-22T19:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fe99a52225d56af16d283c769f14957d3c002471'/>
<id>urn:sha1:fe99a52225d56af16d283c769f14957d3c002471</id>
<content type='text'>
Signed-off-by: Philippe Blain &lt;levraiphilippeblain@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib: fix typos</title>
<updated>2024-10-10T20:31:12Z</updated>
<author>
<name>Andrew Kreimer</name>
<email>algonell@gmail.com</email>
</author>
<published>2024-10-10T15:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f5dedddb753e5366168052cc9cbfec760bbeb3ee'/>
<id>urn:sha1:f5dedddb753e5366168052cc9cbfec760bbeb3ee</id>
<content type='text'>
Fix typos via codespell.

Signed-off-by: Andrew Kreimer &lt;algonell@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: adapt git-config(1) to complete subcommands</title>
<updated>2024-05-17T16:26:19Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2024-05-17T06:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5dd5007f8936f8d37cf95119e83039bd9237a3c5'/>
<id>urn:sha1:5dd5007f8936f8d37cf95119e83039bd9237a3c5</id>
<content type='text'>
With fe3ccc7aab (Merge branch 'ps/config-subcommands', 2024-05-15),
git-config(1) has gained support for subcommands. These subcommands live
next to the old, action-based mode, so that both the old and new way
continue to work.

The manpage for this command has been updated to prominently show the
subcommands, and the action-based modes are marked as deprecated. Update
Bash completion scripts accordingly to advertise subcommands instead of
actions.

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 'rh/complete-symbolic-ref'</title>
<updated>2024-05-08T17:18:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-05-08T17:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c34e4e747261bd32cd8d5a4fb844cf97aec5fb9'/>
<id>urn:sha1:2c34e4e747261bd32cd8d5a4fb844cf97aec5fb9</id>
<content type='text'>
Command line completion script (in contrib/) learned to complete
"git symbolic-ref" a bit better (you need to enable plumbing
commands to be completed with GIT_COMPLETION_SHOW_ALL_COMMANDS).

* rh/complete-symbolic-ref:
  completion: add docs on how to add subcommand completions
  completion: improve docs for using __git_complete
  completion: add 'symbolic-ref'
</content>
</entry>
<entry>
<title>completion: add docs on how to add subcommand completions</title>
<updated>2024-04-25T16:23:27Z</updated>
<author>
<name>Roland Hieber</name>
<email>rhi@pengutronix.de</email>
</author>
<published>2024-04-25T10:18:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b7c45e8c9f7e6b6a602b9ba0727073573da552f'/>
<id>urn:sha1:6b7c45e8c9f7e6b6a602b9ba0727073573da552f</id>
<content type='text'>
Signed-off-by: Roland Hieber &lt;rhi@pengutronix.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: improve docs for using __git_complete</title>
<updated>2024-04-25T16:23:26Z</updated>
<author>
<name>Roland Hieber</name>
<email>rhi@pengutronix.de</email>
</author>
<published>2024-04-25T10:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d13a2950747214567f1685802da523d009c543d9'/>
<id>urn:sha1:d13a2950747214567f1685802da523d009c543d9</id>
<content type='text'>
It took me more than a few tries and a good lecture of __git_main to
understand that the two paragraphs really only refer to adding
completion functions for executables that are not called through git's
subcommand magic. Improve the docs and be more specific.

Signed-off-by: Roland Hieber &lt;rhi@pengutronix.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: add 'symbolic-ref'</title>
<updated>2024-04-25T16:23:26Z</updated>
<author>
<name>Roland Hieber</name>
<email>rhi@pengutronix.de</email>
</author>
<published>2024-04-25T10:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cb85fdf4a4445fd201133dfc8d1e43c7e2e68bf5'/>
<id>urn:sha1:cb85fdf4a4445fd201133dfc8d1e43c7e2e68bf5</id>
<content type='text'>
Even 'symbolic-ref' is only completed when
GIT_COMPLETION_SHOW_ALL_COMMANDS=1 is set, it currently defaults to
completing file names, which is not very helpful. Add a simple
completion function which completes options and refs.

Signed-off-by: Roland Hieber &lt;rhi@pengutronix.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rj/complete-worktree-paths-fix'</title>
<updated>2024-03-14T21:05:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-03-14T21:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c5a7ee124d491d5fe0e3948532ca8219b3b471c0'/>
<id>urn:sha1:c5a7ee124d491d5fe0e3948532ca8219b3b471c0</id>
<content type='text'>
The logic to complete the command line arguments to "git worktree"
subcommand (in contrib/) has been updated to correctly honor things
like "git -C dir" etc.

* rj/complete-worktree-paths-fix:
  completion: fix __git_complete_worktree_paths
</content>
</entry>
<entry>
<title>Merge branch 'rj/complete-reflog'</title>
<updated>2024-03-14T21:05:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-03-14T21:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43100746e69aacb3f8110a9855aacd66483f7e24'/>
<id>urn:sha1:43100746e69aacb3f8110a9855aacd66483f7e24</id>
<content type='text'>
The command line completion script (in contrib/) learned to
complete "git reflog" better.

* rj/complete-reflog:
  completion: reflog subcommands and options
  completion: factor out __git_resolve_builtins
  completion: introduce __git_find_subcommand
  completion: reflog show &lt;log-options&gt;
  completion: reflog with implicit "show"
</content>
</entry>
<entry>
<title>completion: reflog subcommands and options</title>
<updated>2024-03-03T22:21:39Z</updated>
<author>
<name>Rubén Justo</name>
<email>rjusto@gmail.com</email>
</author>
<published>2024-03-02T15:52:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1284f9cc11be4b656492938f68befbe4c87d915f'/>
<id>urn:sha1:1284f9cc11be4b656492938f68befbe4c87d915f</id>
<content type='text'>
Make generic the completion for reflog subcommands and its options.

Note that we still need to special case the options for "show".

Signed-off-by: Rubén Justo &lt;rjusto@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
