<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/completion/git-completion.bash, branch v2.5.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.5.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-06-24T19:21:51Z</updated>
<entry>
<title>Merge branch 'sg/completion-commit-cleanup'</title>
<updated>2015-06-24T19:21:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-24T19:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=54a17cdb9c56cec06f48c8e24b58da795fef301f'/>
<id>urn:sha1:54a17cdb9c56cec06f48c8e24b58da795fef301f</id>
<content type='text'>
* sg/completion-commit-cleanup:
  completion: teach 'scissors' mode to 'git commit --cleanup='
</content>
</entry>
<entry>
<title>Merge branch 'tb/complete-sequencing'</title>
<updated>2015-06-11T16:29:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-11T16:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e356158b4ac80f93df425337d512fa9085a853ac'/>
<id>urn:sha1:e356158b4ac80f93df425337d512fa9085a853ac</id>
<content type='text'>
The bash completion script (in contrib/) learned a few options that
"git revert" takes.

* tb/complete-sequencing:
  completion: suggest sequencer commands for revert
</content>
</entry>
<entry>
<title>completion: teach 'scissors' mode to 'git commit --cleanup='</title>
<updated>2015-06-08T15:46:47Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2015-06-08T01:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=72dbb365547a926f629e12d7eba39c3c0bb8ba84'/>
<id>urn:sha1:72dbb365547a926f629e12d7eba39c3c0bb8ba84</id>
<content type='text'>
Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: suggest sequencer commands for revert</title>
<updated>2015-06-01T15:41:47Z</updated>
<author>
<name>Thomas Braun</name>
<email>thomas.braun@virtuell-zuhause.de</email>
</author>
<published>2015-05-25T09:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=956352b67e1abea342ba7468ac4708ad3ab9970e'/>
<id>urn:sha1:956352b67e1abea342ba7468ac4708ad3ab9970e</id>
<content type='text'>
Signed-off-by: Thomas Braun &lt;thomas.braun@virtuell-zuhause.de&gt;
Acked-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sg/completion-config'</title>
<updated>2015-05-22T19:41:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-22T19:41:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=935d93764466c52cae7218c13bde93043bd609bd'/>
<id>urn:sha1:935d93764466c52cae7218c13bde93043bd609bd</id>
<content type='text'>
Code clean-up for completion script (in contrib/).

* sg/completion-config:
  completion: simplify query for config variables
  completion: add a helper function to get config variables
</content>
</entry>
<entry>
<title>Merge branch 'ls/http-ssl-cipher-list'</title>
<updated>2015-05-22T19:41:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-22T19:41:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39fa79178feb1ce72050ebd21b9e34f158e8befa'/>
<id>urn:sha1:39fa79178feb1ce72050ebd21b9e34f158e8befa</id>
<content type='text'>
Introduce http.&lt;url&gt;.SSLCipherList configuration variable to tweak
the list of cipher suite to be used with libcURL when talking with
https:// sites.

* ls/http-ssl-cipher-list:
  http: add support for specifying an SSL cipher list
</content>
</entry>
<entry>
<title>Merge branch 'sg/completion-omit-credential-helpers'</title>
<updated>2015-05-22T19:41:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-22T19:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=823ac2b6330859bd145e6424663a98d85d455bf9'/>
<id>urn:sha1:823ac2b6330859bd145e6424663a98d85d455bf9</id>
<content type='text'>
The Git subcommand completion (in contrib/) listed credential
helpers among candidates, which is not something the end user would
invoke interatively.

* sg/completion-omit-credential-helpers:
  completion: remove credential helpers from porcelain commands
</content>
</entry>
<entry>
<title>completion: simplify query for config variables</title>
<updated>2015-05-12T22:16:46Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2015-05-10T12:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=12bdc880c793e87b5485a1316a3a0c73ef0f1f83'/>
<id>urn:sha1:12bdc880c793e87b5485a1316a3a0c73ef0f1f83</id>
<content type='text'>
To get the name of all config variables in a given section we perform a
'git config --get-regex' query for all config variables containing the
name of that section, and then filter its output through a case statement
to throw away those that though contain but don't start with the given
section.

Modify the regex to match only at the beginning, so the case statement
becomes unnecessary and we can get rid of it.  Add a test to check that a
match in the middle doesn't fool us.

Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: add a helper function to get config variables</title>
<updated>2015-05-12T22:12:19Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2015-05-10T12:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e8f9e42829ddb966194f0d38443f321113032bb0'/>
<id>urn:sha1:e8f9e42829ddb966194f0d38443f321113032bb0</id>
<content type='text'>
Currently there are a few completion functions that perform similar 'git
config' queries and filtering to get config variable names: the completion
of pretty aliases, aliases, and remote groups for 'git remote update'.

Unify those 'git config' queries in a helper function to eliminate code
duplication.

Though the helper functions to get pretty aliases and alieses are reduced
to mere one-liner wrappers around the newly added function, keep these
helpers still, because users' completion functions out there might depend
on them.  And they keep their callers a tad easier to read, too.

Add tests for the pretty alias and alias helper to show that they work
as before; not for the remote groups query, though, because that's not
extracted into a helper function and it's not worth the effort to do so
for a sole callsite.

Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sg/completion-no-redundant-all-command-list'</title>
<updated>2015-05-11T21:23:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-11T21:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c38a1fad748696108339c74f741e1a8a3ea79a2'/>
<id>urn:sha1:5c38a1fad748696108339c74f741e1a8a3ea79a2</id>
<content type='text'>
Code simplification.

* sg/completion-no-redundant-all-command-list:
  completion: remove redundant __git_compute_all_commands() call
</content>
</entry>
</feed>
