about summary refs log tree commit diff
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
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.
-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]'