summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_git3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b7ae661f3..d00a797a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
 2008-08-16  Clint Adams  <clint@zsh.org>
 
+	* 25460: Completion/Unix/Command/_git: patch to add the
+	--branches/tags/remotes for rev-list to _git from Mikael
+	Magnusson.
+
 	* 25457: Completion/Unix/Command/_git: improvements for git diff
-	and git log.
+	and git log from Mikael Magnusson.
 
 	* Mikael Magnusson: 25456: Completion/Unix/Command/_git: fix typo
 	of "before".
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]'