<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib, branch v2.32.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.32.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.32.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-06-02T03:49:40Z</updated>
<entry>
<title>contrib/completion: fix zsh completion regression from 59d85a2a05</title>
<updated>2021-06-02T03:49:40Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2021-06-01T20:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0b18023d000ed8c0851a025fcd4fd518cb2df673'/>
<id>urn:sha1:0b18023d000ed8c0851a025fcd4fd518cb2df673</id>
<content type='text'>
A recent change to make git-completion.bash use $__git_cmd_idx
in more places broke a number of completions on zsh because it
modified __git_main but did not update __git_zsh_main.

Notably, completions for "add", "branch", "mv" and "push" were
broken as a result of this change.

In addition to the undefined variable usage, "git mv &lt;tab&gt;" also
prints the following error:

	__git_count_arguments:7: bad math expression:
	operand expected at `"1"'

	_git_mv:[:7: unknown condition: -gt

Remove the quotes around $__git_cmd_idx in __git_count_arguments
and set __git_cmd_idx=1 early in __git_zsh_main to fix the
regressions from 59d85a2a05.

This was tested on zsh 5.7.1 (x86_64-apple-darwin19.0).

Suggested-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Acked-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jh/simple-ipc-sans-pthread'</title>
<updated>2021-05-22T09:29:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-22T09:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6aae0e2ad2fdb5cc87358d7c4337e145c0b99fe9'/>
<id>urn:sha1:6aae0e2ad2fdb5cc87358d7c4337e145c0b99fe9</id>
<content type='text'>
The "simple-ipc" did not compile without pthreads support, but the
build procedure was not properly account for it.

* jh/simple-ipc-sans-pthread:
  simple-ipc: correct ifdefs when NO_PTHREADS is defined
</content>
</entry>
<entry>
<title>simple-ipc: correct ifdefs when NO_PTHREADS is defined</title>
<updated>2021-05-20T22:55:00Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2021-05-20T18:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6aac70a870fc40482eca943ff0b64003497d69c1'/>
<id>urn:sha1:6aac70a870fc40482eca943ff0b64003497d69c1</id>
<content type='text'>
Simple IPC always requires threads (in addition to various
platform-specific IPC support).  Fix the ifdefs in the Makefile
to define SUPPORTS_SIMPLE_IPC when appropriate.

Previously, the Unix version of the code would only verify that
Unix domain sockets were available.

This problem was reported here:
https://lore.kernel.org/git/YKN5lXs4AoK%2FJFTO@coredump.intra.peff.net/T/#m08be8f1942ea8a2c36cfee0e51cdf06489fdeafc

Reported-by: Randall S. Becker &lt;rsbecker@nexbridge.com&gt;
Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'en/prompt-under-set-u'</title>
<updated>2021-05-19T23:55:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-19T23:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=02112fcb705c334311290e7699a6c0dca7585b8d'/>
<id>urn:sha1:02112fcb705c334311290e7699a6c0dca7585b8d</id>
<content type='text'>
The bash prompt script (in contrib/) did not work under "set -u".

* en/prompt-under-set-u:
  git-prompt: work under set -u
</content>
</entry>
<entry>
<title>Merge branch 'dd/mailinfo-quoted-cr'</title>
<updated>2021-05-16T12:05:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-16T12:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=483932a3d8dae23207de8ec8683a5236ef3098d9'/>
<id>urn:sha1:483932a3d8dae23207de8ec8683a5236ef3098d9</id>
<content type='text'>
"git mailinfo" (hence "git am") learned the "--quoted-cr" option to
control how lines ending with CRLF wrapped in base64 or qp are
handled.

* dd/mailinfo-quoted-cr:
  am: learn to process quoted lines that ends with CRLF
  mailinfo: allow stripping quoted CR without warning
  mailinfo: allow squelching quoted CRLF warning
  mailinfo: warn if CRLF found in decoded base64/QP email
  mailinfo: stop parsing options manually
  mailinfo: load default metainfo_charset lazily
</content>
</entry>
<entry>
<title>git-prompt: work under set -u</title>
<updated>2021-05-13T06:50:26Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2021-05-13T06:22:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c0cbdb107c5e1c1474618535fda438f25d260ca'/>
<id>urn:sha1:5c0cbdb107c5e1c1474618535fda438f25d260ca</id>
<content type='text'>
Commit afda36dbf3 ("git-prompt: include sparsity state as well",
2020-06-21) added the use of some variables to control how to show
sparsity state in the git prompt, but implicitly assumed that undefined
variables would be treated as the empty string.  This breaks users who
run under 'set -u'; fix the code to be more explicit.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ls/subtree'</title>
<updated>2021-05-10T07:59:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-10T07:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=44ccb7629a448fd4408f4ff7206df628a31dabed'/>
<id>urn:sha1:44ccb7629a448fd4408f4ff7206df628a31dabed</id>
<content type='text'>
"git subtree" updates.

* ls/subtree: (30 commits)
  subtree: be stricter about validating flags
  subtree: push: allow specifying a local rev other than HEAD
  subtree: allow 'split' flags to be passed to 'push'
  subtree: allow --squash to be used with --rejoin
  subtree: give the docs a once-over
  subtree: have $indent actually affect indentation
  subtree: don't let debug and progress output clash
  subtree: add comments and sanity checks
  subtree: remove duplicate check
  subtree: parse revs in individual cmd_ functions
  subtree: use "^{commit}" instead of "^0"
  subtree: don't fuss with PATH
  subtree: use "$*" instead of "$@" as appropriate
  subtree: use more explicit variable names for cmdline args
  subtree: use git-sh-setup's `say`
  subtree: use `git merge-base --is-ancestor`
  subtree: drop support for git &lt; 1.7
  subtree: more consistent error propagation
  subtree: don't have loose code outside of a function
  subtree: t7900: add porcelain tests for 'pull' and 'push'
  ...
</content>
</entry>
<entry>
<title>am: learn to process quoted lines that ends with CRLF</title>
<updated>2021-05-10T06:06:22Z</updated>
<author>
<name>Đoàn Trần Công Danh</name>
<email>congdanhqx@gmail.com</email>
</author>
<published>2021-05-09T17:12:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=59b519ab7e703ebdbad06bd9ba3cae6e55d880d0'/>
<id>urn:sha1:59b519ab7e703ebdbad06bd9ba3cae6e55d880d0</id>
<content type='text'>
In previous changes, mailinfo has learnt to process lines that decoded
from base64 or quoted-printable, and ends with CRLF.

Let's teach "am" that new trick, too.

Signed-off-by: Đoàn Trần Công Danh &lt;congdanhqx@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'si/zsh-complete-comment-fix'</title>
<updated>2021-05-07T03:47:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-07T03:47:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=70a890d42f6c8cb7c0bb2c10361857621c821195'/>
<id>urn:sha1:70a890d42f6c8cb7c0bb2c10361857621c821195</id>
<content type='text'>
Portability fix for command line completion script (in contrib/).

* si/zsh-complete-comment-fix:
  work around zsh comment in __git_complete_worktree_paths
</content>
</entry>
<entry>
<title>Merge branch 'dl/complete-stash-updates'</title>
<updated>2021-05-07T03:47:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-07T03:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=18e1ba10927b15f66a32c86f61133e9adf79f9cf'/>
<id>urn:sha1:18e1ba10927b15f66a32c86f61133e9adf79f9cf</id>
<content type='text'>
Further update the command line completion (in contrib/) for "git
stash".

* dl/complete-stash-updates:
  git-completion.bash: consolidate cases in _git_stash()
  git-completion.bash: use $__git_cmd_idx in more places
  git-completion.bash: rename to $__git_cmd_idx
  git-completion.bash: separate some commands onto their own line
</content>
</entry>
</feed>
