* Completion for git log --reverse
@ 2008-09-22 17:04 Jörg Sommer
2008-09-23 12:03 ` Mikael Magnusson
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Sommer @ 2008-09-22 17:04 UTC (permalink / raw)
To: zsh-workers
commit a22661303c034f9cb7bc5bc186370c8201598192
Author: Jörg Sommer <joerg@alea.gnuu.de>
Date: Mon Sep 22 19:03:41 2008 +0200
Add completion of option --reverse
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 21115cd..c8a1282 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4281,12 +4281,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]'
--
Roesen's Law (http://www.bruhaha.de/laws.html):
Sobald ein Troll, DAU oder Elch im Lauf eines Threads auf heftige Kritik
stößt, argumentiert er mit der Arroganz des Kritikers. Dies kann auch
vorsorglich erfolgen.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Completion for git log --reverse
2008-09-22 17:04 Completion for git log --reverse Jörg Sommer
@ 2008-09-23 12:03 ` Mikael Magnusson
0 siblings, 0 replies; 2+ messages in thread
From: Mikael Magnusson @ 2008-09-23 12:03 UTC (permalink / raw)
To: Clint Adams; +Cc: zsh-workers
2008/9/22 Jörg Sommer <joerg@alea.gnuu.de>:
> commit a22661303c034f9cb7bc5bc186370c8201598192
> Author: Jörg Sommer <joerg@alea.gnuu.de>
> Date: Mon Sep 22 19:03:41 2008 +0200
>
> Add completion of option --reverse
>
> diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
> index 21115cd..c8a1282 100644
> --- a/Completion/Unix/Command/_git
> +++ b/Completion/Unix/Command/_git
> @@ -4281,12 +4281,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]'
In cvs there's
+ '(-g --walk-reflogs reverse)'{-g,--walk-reflogs}'[walk reflog
entries from most recent to oldest]'
ie the -- is missing for --reverse.
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-23 12:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-22 17:04 Completion for git log --reverse Jörg Sommer
2008-09-23 12:03 ` Mikael Magnusson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).