summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76393cc2f..9f891ef68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-09-22  Clint Adams  <clint@zsh.org>
 
+	* Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion
+	of option --reverse.
+
 	* 25720: Doc/Zsh/contrib.yo: remove misleading vcs_info bit about
 	PROMPT_SUBST.
 
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 13f519b91..2f3931af9 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4211,12 +4211,13 @@ __git_setup_revision_arguments () {
     '--cherry-pick[omit any same-change commits]'
     '--graph[draw a graphical representation of the commit history]'
     '--reflog[show all commits from reflogs]'
-    '(-g --walk-reflogs)'{-g,--walk-reflogs}'[walk reflog entries from most recent to oldest]'
+    '(-g --walk-reflogs reverse)'{-g,--walk-reflogs}'[walk reflog entries from most recent to oldest]'
     '*--not[reverses meaning of ^ prefix for revisions that follow]'
     '--default[use argument as default revision]:default revision:__git_revisions'
     '--merge[after a failed merge, show refs that touch files having a conflict]'
     '(             --date-order)--topo-order[show commits in topological order]'
     '(--topo-order             )--date-order[show commits in date order]'
+    '(-g --walk-reflogs)--reverse[show commits in reverse order]'
     '--parents[show parent commits]'
     '(        --sparse)--dense[this is the inverse of --sparse, and is also the default]'
     '(--dense         )--sparse[when paths are given, output only commits that changes any of them]'