about summary refs log tree commit diff
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2013-10-20 19:43:32 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-10-21 17:40:09 +0200
commit32ffba1214dcc18c4fb39dbad82ed0c6bb3ba41e (patch)
treef09caa6a8b9b2971d3a030df78cb20e3115d5a1a
parentbaee0a2295c7d6de79c7aa576c5a7cea30c9fd5d (diff)
downloadzsh-32ffba1214dcc18c4fb39dbad82ed0c6bb3ba41e.tar.gz
zsh-32ffba1214dcc18c4fb39dbad82ed0c6bb3ba41e.tar.xz
zsh-32ffba1214dcc18c4fb39dbad82ed0c6bb3ba41e.zip
31866: _git: Reword --heads to match new meaning
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0dbf17111..1821dbb9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
 	* 31862: Completion/Unix/Command/_git: _git: Add status.short and
 	status.branch
 
+	* 31866: Completion/Unix/Command/_git: _git: Reword --heads to
+	match new meaning
+
 2013-10-21  m0viefreak  <m0viefreak.cm@googlemail.com>
 
 	* 31856: Completion/Unix/Command/_git: _git: fix a few
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index eb2da110b..36e97071e 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4429,7 +4429,7 @@ _git-show-ref () {
     - list \
       '(-h --head)'{-h,--head}'[show HEAD reference]' \
       '--tags[show only refs/tags]' \
-      '--heads[show only refs/heads]' \
+      '--heads[show only HEAD and refs under refs/heads]' \
       '(-d --dereference)'{-d,--dereference}'[dereference tags into object IDs as well]' \
       '(-s --hash)'{-s+,--hash=-}'[only show the SHA-1 hash, not the reference name]:: :__git_guard_number length' \
       '--verify[enable stricter reference checking]' \