<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-06-13T20:27:05Z</updated>
<entry>
<title>Merge branch 'rf/completion-config-commit' into maint</title>
<updated>2017-06-13T20:27:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-13T20:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e0538abaf7ad330ab639f418e9de82ef8adbe5bb'/>
<id>urn:sha1:e0538abaf7ad330ab639f418e9de82ef8adbe5bb</id>
<content type='text'>
Completion update.

* rf/completion-config-commit:
  completion: add completions for git config commit
</content>
</entry>
<entry>
<title>Merge branch 'jk/url-insteadof-config' into maint</title>
<updated>2017-06-05T00:03:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-05T00:03:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7dab7c5b59d2b3e45ecda8cd47931db9dfc96ae2'/>
<id>urn:sha1:7dab7c5b59d2b3e45ecda8cd47931db9dfc96ae2</id>
<content type='text'>
The interaction of "url.*.insteadOf" and custom URL scheme's
whitelisting is now documented better.

* jk/url-insteadof-config:
  docs/config: mention protocol implications of url.insteadOf
</content>
</entry>
<entry>
<title>Merge branch 'tg/stash-push-fixup' into maint</title>
<updated>2017-06-04T01:21:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-04T01:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ecbaaf10172c75d6e398abd510a92ad69f7e015'/>
<id>urn:sha1:5ecbaaf10172c75d6e398abd510a92ad69f7e015</id>
<content type='text'>
The shell completion script (in contrib/) learned "git stash" has
a new "push" subcommand.

* tg/stash-push-fixup:
  completion: add git stash push
</content>
</entry>
<entry>
<title>docs/config: mention protocol implications of url.insteadOf</title>
<updated>2017-06-01T01:07:10Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-05-31T05:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c9a2ae285b0806a5f754dcf6064f7cedc7e1fa8'/>
<id>urn:sha1:2c9a2ae285b0806a5f754dcf6064f7cedc7e1fa8</id>
<content type='text'>
If a URL rewrite switches the protocol to something
nonstandard (like "persistent-https" for "https"), the user
may be bitten by the fact that the default protocol
restrictions are different between the two. Let's drop a
note in insteadOf that points the user in the right
direction.

It would be nice if we could make this work out of the box,
but we can't without knowing the security implications of
the user's rewrite. Only the documentation for a particular
remote helper can advise one way or the other. Since we do
include the persistent-https helper in contrib/ (and since
it was the helper in the real-world case that inspired that
patch), let's also drop a note there.

Suggested-by: Elliott Cable &lt;me@ell.io&gt;
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>completion: add completions for git config commit</title>
<updated>2017-05-30T04:29:38Z</updated>
<author>
<name>Rikard Falkeborn</name>
<email>rikard.falkeborn@gmail.com</email>
</author>
<published>2017-05-28T12:13:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ee4aa95dbddddf51a3a0d1b53a6c3df956236e1'/>
<id>urn:sha1:9ee4aa95dbddddf51a3a0d1b53a6c3df956236e1</id>
<content type='text'>
Add missing completions for git config:

* commit.cleanup
* commit.gpgSign
* commit.verbose

Signed-off-by: Rikard Falkeborn &lt;rikard.falkeborn@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: add git stash push</title>
<updated>2017-05-17T03:15:56Z</updated>
<author>
<name>Thomas Gummerer</name>
<email>t.gummerer@gmail.com</email>
</author>
<published>2017-05-16T19:59:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3851e4483f0d62e677703297218c9bb47325806f'/>
<id>urn:sha1:3851e4483f0d62e677703297218c9bb47325806f</id>
<content type='text'>
When introducing git stash push in f5727e26e4 ("stash: introduce push
verb", 2017-02-19), I forgot to add it to the completion code. Add it
now.

Signed-off-by: Thomas Gummerer &lt;t.gummerer@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: mark bash script as LF-only</title>
<updated>2017-05-10T04:32:51Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-05-09T12:54:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cedf4e27de019915a0386cb8f9a4721f2c26e7f7'/>
<id>urn:sha1:cedf4e27de019915a0386cb8f9a4721f2c26e7f7</id>
<content type='text'>
Without this change, the completion script does not work, as Bash expects
its scripts to have line feeds as end-of-line markers (this is
particularly prominent in quoted multi-line strings, where carriage
returns would slip into the strings as verbatim characters otherwise).

This change is required to let t9902-completion pass when Git's source
code is checked out with `core.autocrlf = true`.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-new-workdir: mark script as LF-only</title>
<updated>2017-05-10T04:32:50Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-05-09T12:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bee286f8f7c2e08a9c7fef28136796f6fd99a8ab'/>
<id>urn:sha1:bee286f8f7c2e08a9c7fef28136796f6fd99a8ab</id>
<content type='text'>
Bash does not handle scripts with CR/LF line endings correctly, therefore
they *have* to be forced to LF-only line endings.

Funnily enough, this fixes t3000-ls-files-others and
t1021-rerere-in-workdir when git.git was checked out with
core.autocrlf=true, as these test still use git-new-workdir (once `git
worktree` is no longer marked as experimental, both scripts probably
want to be ported to using that command instead).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/complete-checkout-sans-dwim-remote'</title>
<updated>2017-05-01T05:14:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-05-01T05:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b439747bc1074f6f325987d6f2b1a38119d3b863'/>
<id>urn:sha1:b439747bc1074f6f325987d6f2b1a38119d3b863</id>
<content type='text'>
Completion for "git checkout &lt;branch&gt;" that auto-creates the branch
out of a remote tracking branch can now be disabled, as this
completion often gets in the way when completing to checkout an
existing local branch that happens to share the same prefix with
bunch of remote tracking branches.

* jk/complete-checkout-sans-dwim-remote:
  completion: optionally disable checkout DWIM
</content>
</entry>
<entry>
<title>completion: optionally disable checkout DWIM</title>
<updated>2017-04-24T00:46:31Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-04-21T20:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=60e71bbceae9c81abed60a01449dbcbdc3ec89d6'/>
<id>urn:sha1:60e71bbceae9c81abed60a01449dbcbdc3ec89d6</id>
<content type='text'>
When we complete branch names for "git checkout", we also
complete remote branch names that could trigger the DWIM
behavior. Depending on your workflow and project, this can
be either convenient or annoying.

For instance, my clone of gitster.git contains 74 local
"jk/*" branches, but origin contains another 147. When I
want to checkout a local branch but can't quite remember the
name, tab completion shows me 251 entries. And worse, for a
topic that has been picked up for pu, the upstream branch
name is likely to be similar to mine, leading to a high
probability that I pick the wrong one and accidentally
create a new branch.

This patch adds a way for the user to tell the completion
code not to include DWIM suggestions for checkout. This can
already be done by typing:

  git checkout --no-guess jk/&lt;TAB&gt;

but that's rather cumbersome. The downside, of course, is
that you no longer get completion support when you _do_ want
to invoke the DWIM behavior. But depending on your workflow,
that may not be a big loss (for instance, in git.git I am
much more likely to want to detach, so I'd type "git
checkout origin/jk/&lt;TAB&gt;" anyway).

Signed-off-by: Jeff King &lt;peff@peff.net&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>
