summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-07 06:20:40 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-07 22:53:51 +0000
commit0516736eae23f5dd3839e3a5abe250d48c4d7d3c (patch)
treed3851dd28c102fee2fa1c9cc413a9d887856a83f /Completion/Unix/Command/_git
parent38592 (plus tweak): _git: New recent branches completion, unused. (Joint with... (diff)
downloadzsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar.gz
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar.bz2
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar.lz
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar.xz
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.tar.zst
zsh-0516736eae23f5dd3839e3a5abe250d48c4d7d3c.zip
38624: _git: Optimize the last commit's __git_recent_branches__names as suggested by Matthew.
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git33
1 files changed, 9 insertions, 24 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 9e572e25d..cc38d4bcf 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5645,30 +5645,15 @@ __git_commit_objects_prefer_recent () {
(( $+functions[__git_recent_branches__names] )) ||
__git_recent_branches__names()
{