about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-08-16 13:00:25 +0000
committerClint Adams <clint@users.sourceforge.net>2008-08-16 13:00:25 +0000
commitad001cc1e3697ddad44de367e92428249faa2b6a (patch)
treec933f1a95ebe53b37cc45ecf07aa334a829683d4 /Completion
parentddd6af43ef6fc4ca6f6906e64cce443f691d5341 (diff)
downloadzsh-ad001cc1e3697ddad44de367e92428249faa2b6a.tar.gz
zsh-ad001cc1e3697ddad44de367e92428249faa2b6a.tar.xz
zsh-ad001cc1e3697ddad44de367e92428249faa2b6a.zip
25460: patch to add the --branches/tags/remotes for rev-list to _git from Mikael Magnusson.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 3dc973ac6..b7c1cd3fb 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4127,6 +4127,9 @@ __git_setup_revision_arguments () {
     '(          --until --before)--min-age[minimum age of commits to output]: :_guard "[[\:digit\:]]#" timestamp'
     '(--min-age --until --before)'{--until=-,--before=-}'[show commits older than given date]: :_guard "[[\:digit\:]]#" timestamp'
     '--all[show all commits from refs]'
+    '--branches[show all commits from refs/heads]'
+    '--tags[show all commits from refs/tags]'
+    '--remotes[show all commits from refs/remotes]'
     '--cherry-pick[omit any same-change commits]'
     '--reflog[show all commits from reflogs]'
     '(-g --walk-reflogs)'{-g,--walk-reflogs}'[walk reflog entries from most recent to oldest]'