<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/completion, branch v2.12.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.12.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.12.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-02-15T20:54:19Z</updated>
<entry>
<title>Merge branch 'cw/completion'</title>
<updated>2017-02-15T20:54:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-02-15T20:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3f4ccb5a579740382fa7685e6d1a00d157b44387'/>
<id>urn:sha1:3f4ccb5a579740382fa7685e6d1a00d157b44387</id>
<content type='text'>
More command line completion (in contrib/) for recent additions.

* cw/completion:
  completion: recognize more long-options
  completion: teach remote subcommands to complete options
  completion: teach replace to complete options
  completion: teach ls-remote to complete options
  completion: improve bash completion for git-add
  completion: add subcommand completion for rerere
  completion: teach submodule subcommands to complete options
</content>
</entry>
<entry>
<title>Merge branch 'ew/complete-svn-authorship-options'</title>
<updated>2017-02-10T20:52:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-02-10T20:52:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f7490fdf855916a4014faeb4fa328239c7eb945b'/>
<id>urn:sha1:f7490fdf855916a4014faeb4fa328239c7eb945b</id>
<content type='text'>
Correct command line completion (in contrib/) on "git svn"

* ew/complete-svn-authorship-options:
  completion: fix git svn authorship switches
</content>
</entry>
<entry>
<title>Merge branch 'bw/push-submodule-only'</title>
<updated>2017-02-10T20:52:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-02-10T20:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e7c1f3240d16d93f4f48c5c1ffa1d5a1f69b298'/>
<id>urn:sha1:8e7c1f3240d16d93f4f48c5c1ffa1d5a1f69b298</id>
<content type='text'>
Add missing documentation update to a recent topic.

* bw/push-submodule-only:
  completion: add completion for --recurse-submodules=only
  doc: add doc for git-push --recurse-submodules=only
</content>
</entry>
<entry>
<title>completion: fix git svn authorship switches</title>
<updated>2017-02-06T18:40:39Z</updated>
<author>
<name>Eric Wong</name>
<email>e@80x24.org</email>
</author>
<published>2017-02-05T02:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2cbad1764213b46057cd20028c4f7df0dad5a51f'/>
<id>urn:sha1:2cbad1764213b46057cd20028c4f7df0dad5a51f</id>
<content type='text'>
--add-author-from and --use-log-author are for "git svn dcommit",
not "git svn (init|clone)"

Signed-off-by: Eric Wong &lt;e@80x24.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: recognize more long-options</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f483a0aa2a4ca30f4fa76ea4aff621e59cdb882c'/>
<id>urn:sha1:f483a0aa2a4ca30f4fa76ea4aff621e59cdb882c</id>
<content type='text'>
Command completion only recognizes a subset of the available options for
the various git commands. The set of recognized options needs to balance
between having all useful options and to not clutter the terminal.

This commit adds all long-options that are mentioned in the man-page
synopsis of the respective git command. Possibly dangerous options are
not included in this set, to avoid accidental data loss. The added
options are:

 - apply: --recount --directory=
 - archive: --output
 - branch: --column --no-column --sort= --points-at
 - clone: --no-single-branch --shallow-submodules
 - commit: --patch --short --date --allow-empty
 - describe: --first-parent
 - fetch, pull: --unshallow --update-shallow
 - fsck: --name-objects
 - grep: --break --heading --show-function --function-context
         --untracked --no-index
 - mergetool: --prompt --no-prompt
 - reset: --keep
 - revert: --strategy= --strategy-option=
 - shortlog: --email
 - tag: --merged --no-merged --create-reflog

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Helped-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: teach remote subcommands to complete options</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cac84960ea5a3f97c52dae7bf05591237bc0303d'/>
<id>urn:sha1:cac84960ea5a3f97c52dae7bf05591237bc0303d</id>
<content type='text'>
Git-remote needs to complete remote names, its subcommands, and options
thereof. In addition to the existing subcommand and remote name
completion, do also complete the options

 - add: --track --master --fetch --tags --no-tags --mirror=
 - set-url: --push --add --delete
 - get-url: --push --all
 - prune: --dry-run

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: teach replace to complete options</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=188fba1172964da1d0169535e859381c3f2b1191'/>
<id>urn:sha1:188fba1172964da1d0169535e859381c3f2b1191</id>
<content type='text'>
Git-replace needs to complete references and its own options. In
addition to the existing references completions, do also complete the
options --edit --graft --format= --list --delete.

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: teach ls-remote to complete options</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c0f3a5314cf73ba99bdeb8a64734eba10985689'/>
<id>urn:sha1:2c0f3a5314cf73ba99bdeb8a64734eba10985689</id>
<content type='text'>
ls-remote needs to complete remote names and its own options. In
addition to the existing remote name completions, do also complete
the options --heads, --tags, --refs, --get-url, and --symref.

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: improve bash completion for git-add</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd9ab9dfc0b64128b10567906032c7f6e1d9bd67'/>
<id>urn:sha1:bd9ab9dfc0b64128b10567906032c7f6e1d9bd67</id>
<content type='text'>
Command completion for git-add did not recognize some long-options.
This commits adds completion for all long-options that are mentioned in
the man-page synopsis. In addition, if the user specified `--update` or
`-u`, path completion will only suggest modified tracked files.

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: add subcommand completion for rerere</title>
<updated>2017-02-04T06:25:46Z</updated>
<author>
<name>Cornelius Weig</name>
<email>cornelius.weig@tngtech.com</email>
</author>
<published>2017-02-03T11:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e24a256b5946f933d19d68ec071d80990bffcebd'/>
<id>urn:sha1:e24a256b5946f933d19d68ec071d80990bffcebd</id>
<content type='text'>
Managing recorded resolutions requires command-line usage of git-rerere.
Added subcommand completion for rerere and path completion for its
subcommand forget.

Signed-off-by: Cornelius Weig &lt;cornelius.weig@tngtech.com&gt;
Reviewed-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
