zsh-workers
 help / color / mirror / code / Atom feed
54d16389544ca8008760d66007dfcff9a4dddb8f blob 923 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
#autoload

local __gopt __len __tmp __pre __suf __ret=1 __descr __spec __prev

if [[ "$1" = - ]]; then
  __prev=-
  shift
fi

__gopt=()
zparseopts -D -a __gopt 1 2 V J x o:

__tmp=${argv[(ib:4:)-]}
__len=$#
if [[ __tmp -lt __len ]]; then
  __pre=$(( __tmp-1 ))
  __suf=$__tmp
elif [[ __tmp -eq $# ]]; then
  __pre=-2
  __suf=$(( __len+1 ))
else
  __pre=4
  __suf=5
fi

while comptags "-A$__prev" "$1" curtag __spec; do
  (( $#funcstack > _tags_level )) && _comp_tags="${_comp_tags% * }"
  _tags_level=$#funcstack
  _comp_tags="$_comp_tags $__spec "
  if [[ "$curtag" = *[^\\]:* ]]; then
    zformat -f __descr "${curtag#*:}" "d:$3"
    _description "$__gopt[@]" "${curtag%:*}" "$2" "$__descr"
    curtag="${curtag%:*}"

    "$4" "${(P@)2}" "${(@)argv[5,-1]}" && __ret=0
  else
    _description "$__gopt[@]" "$curtag" "$2" "$3"

    "${(@)argv[4,__pre]}" "${(P@)2}" "${(@)argv[__suf,-1]}" && __ret=0
  fi
done

return __ret
debug log:

solving 54d163895 ...
found 54d163895 in https://inbox.vuxu.org/zsh-workers/76839-1543195550.251964@c6AU.RX4q.p78d/
found e607d639d in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 e607d639d18f823b8c1f8544cabfc06133432cbf	Completion/Base/Core/_all_labels

applying [1/1] https://inbox.vuxu.org/zsh-workers/76839-1543195550.251964@c6AU.RX4q.p78d/
diff --git a/Completion/Base/Core/_all_labels b/Completion/Base/Core/_all_labels
index e607d639d..54d163895 100644

Checking patch Completion/Base/Core/_all_labels...
Applied patch Completion/Base/Core/_all_labels cleanly.

index at:
100644 54d16389544ca8008760d66007dfcff9a4dddb8f	Completion/Base/Core/_all_labels

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).