@matheusbsbs / matheus-bagliano / commits / 8f87fae645
Fork 0

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>

Shawn O. Pearce committed May 24, 2007 at 01:51 UTC 8f87fae6459b7d5b8058691911f1c18c59a5dcbd
1 file changed +2 -2
contrib/completion/git-completion.bash
+2 -2
@@ -592,13 +592,13 @@ _git_log ()
592 __gitcomp "
593 --max-count= --max-age= --since= --after=
594 --min-age= --before= --until=
595 - --root --topo-order --date-order
595 + --root --topo-order --date-order --reverse
596 --no-merges
597 --abbrev-commit --abbrev=
598 --relative-date
599 --author= --committer= --grep=
600 --all-match
601 - --pretty= --name-status --name-only
601 + --pretty= --name-status --name-only --raw
602 --not --all
603 "
604 return