mirror of git://git.code.sf.net/p/zsh/code
ChangeLog-5.0 should be ChangeLog-4.3, Bart says
This commit is contained in:
parent
5fdc9c9f8f
commit
787df27854
|
@ -38,7 +38,11 @@
|
|||
|
||||
* unposted: Doc/Zsh/ftp_sites.yo: Remove unavailable sites
|
||||
|
||||
2012-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* unposted: update for 5.0.0 release.
|
||||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5691 $
|
||||
* $Revision: 1.5692 $
|
||||
*****************************************************
|
||||
|
|
|
@ -474,8 +474,17 @@ _perforce_gen_cmd_list() {
|
|||
# Ignore blank lines and the heading line beginning `Perforce...'
|
||||
# Just gets run once, then cached, so don't bother optimising
|
||||
# this to a grossly unreadable parameter substitution.
|
||||
_perforce_cmd_list=()
|
||||
_perforce_call_p4 help-commands help commands | while read -A hline; do
|
||||
(( ${#hline} < 2 )) && continue
|
||||
if (( ${#hline} < 2 )); then
|
||||
if (( ${#_perforce_cmd_list} )); then
|
||||
# Ignore comments after the main list of commands, separate by blank
|
||||
# line.
|
||||
break
|
||||
else
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
[[ $hline[1] = (#i)perforce ]] && continue
|
||||
_perforce_cmd_list+=("${hline[1]}:${hline[2,-1]}")
|
||||
done
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue