about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-17 20:49:56 +0200
committerDaniel Hahler <git@thequod.de>2015-05-18 02:48:03 +0200
commit733db1b41126a45ce1ecf5c552e1ad5d8acf9c72 (patch)
treeb0f5bbfda37c67247a1dabafec323ada3a5c714f
parenta0b221e7c587d9dfacee464bc5db367a509b7806 (diff)
downloadzsh-733db1b41126a45ce1ecf5c552e1ad5d8acf9c72.tar.gz
zsh-733db1b41126a45ce1ecf5c552e1ad5d8acf9c72.tar.xz
zsh-733db1b41126a45ce1ecf5c552e1ad5d8acf9c72.zip
35106: completion: git: unique name for __git_recent_commits
This helps to distinguish it from __git_commit_objects.
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bdb17682..a00c51162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
 	* 35103: Completion/Unix/Command/_git: add %cr to commit objects (all
 	and recent).
 
+	* 35106: completion: git: unique name for __git_recent_commits.
+
 2015-05-16  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 35161: Completion/Unix/Command/_git: completion: git: Fix
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 80cbb4355..4222bf211 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5700,7 +5700,7 @@ __git_recent_commits () {
   expl=()
   _wanted heads expl 'head' compadd "$@" -a - heads && ret=0
   expl=()
-  _describe -2Vx -t commits 'commit object name' descr && ret=0
+  _describe -2Vx -t commits 'recent commit object name' descr && ret=0
   return $ret
 }