Teach bash completion about recent log long options
(Somewhat) recently git-log learned about --reverse (to show commits in the opposite order) and a looong time ago I think it learned about --raw (to show the raw diff, rather than a unified diff). These are both useful options, so we should make them easy for the user to complete. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
fb72759b7d
commit
8f87fae645
@ -592,13 +592,13 @@ _git_log ()
|
|||||||
__gitcomp "
|
__gitcomp "
|
||||||
--max-count= --max-age= --since= --after=
|
--max-count= --max-age= --since= --after=
|
||||||
--min-age= --before= --until=
|
--min-age= --before= --until=
|
||||||
--root --topo-order --date-order
|
--root --topo-order --date-order --reverse
|
||||||
--no-merges
|
--no-merges
|
||||||
--abbrev-commit --abbrev=
|
--abbrev-commit --abbrev=
|
||||||
--relative-date
|
--relative-date
|
||||||
--author= --committer= --grep=
|
--author= --committer= --grep=
|
||||||
--all-match
|
--all-match
|
||||||
--pretty= --name-status --name-only
|
--pretty= --name-status --name-only --raw
|
||||||
--not --all
|
--not --all
|
||||||
"
|
"
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user