1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00

46139: _git: Remove hanging whitespaces

This commit is contained in:
Miroslav Koškár 2020-06-27 08:12:15 +02:00 committed by Daniel Shahaf
parent 6f479b7685
commit d839833e4e
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2020-06-27 Miroslav Koškár <mk@mkoskar.com>
* 46139: Completion/Unix/Command/_git: Remove hanging whitespaces
2020-06-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (after 46068): Src/Zle/zle_utils.c: Fix a compiler

View file

@ -2346,7 +2346,7 @@ __git_config_value () {
# Helper to _git-config(). May be called by other functions, too, provided
# that The caller has set $line, $state, and $opt_args as _git-config() would
# set them:
#
#
# - set $line[1] to the option name being completed (even if completing an
# option value).
# - set $opt_args to git-config(1) options, as set by _arguments in
@ -2916,7 +2916,7 @@ __git_config_option-or-value () {
for key in $git_present_options ; do
if (( ${+git_options[(r)(#i)${(b)key}:*]} )); then
# $key is already in git_options
continue
continue
elif (( ${+sections_that_permit_arbitrary_subsection_names[(r)${(b)key%%.*}]} )); then
if [[ $key == *.*.* ]]; then
# If $key isn't an instance of a known foo.*.bar:baz $git_options entry...