summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bf01dc3f..812ef3540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-25 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * unposted: Completion/Unix/Command/_git: _git: Fix 'commit
+ object name' completion messages.
+
2015-10-25 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36911: Src/Zle/computil.c: '-optarg' should not match
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 719d717d7..e38b1c6e7 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5640,7 +5640,7 @@ __git_commit_objects () {
commits=(${(f)"$(_call_program commits git --no-pager log -1000 --all --reflog --format='%h:\[%h\]\ %s\ \(%cr\)')"})
__git_command_successful $pipestatus || return 1
- _describe -V -t commits 'commit object name' commits
+ _describe -Vx -t commits 'commit object name' commits
}
(( $+functions[__git_recent_commits] )) ||
@@ -5704,7 +5704,7 @@ __git_recent_commits () {
expl=()
_wanted heads expl 'head' compadd "$@" -a - heads && ret=0
expl=()
- _describe -Vx -t commits 'recent commit object name' descr && ret=0
+ _describe -V -t commits 'recent commit object name' descr && ret=0
return $ret
}