From: Ramkumar Ramachandra Date: Sun, 17 Nov 2013 16:13:25 +0000 (+0530) Subject: perf completion: Factor out call to __ltrim_colon_completions X-Git-Tag: v3.14-rc1~171^2~19^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e72c31061521d6f0e4b7fe47cd5748280ed691;p=pandora-kernel.git perf completion: Factor out call to __ltrim_colon_completions In our sole callsite, __ltrim_colon_completions is called after __perfcomp, to modify the COMPREPLY set by the invocation. This is problematic, because in the zsh equivalent (using compset/ compadd), we'll have to generate completions in one-shot. So factor out this entire callsite into a special override'able __perfcomp_colon function; we will override it when introducing zsh support. Signed-off-by: Ramkumar Ramachandra Cc: Ingo Molnar Link: http://lkml.kernel.org/r/1384704807-15779-4-git-send-email-artagnon@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed