]> Kevux Git Server - rit/commitdiff
Remove a duplicate --not option in bash completion
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 May 2007 05:26:58 +0000 (01:26 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 24 May 2007 05:26:58 +0000 (01:26 -0400)
This was just me being silly; I put the --not option into the
completion list twice.  There's no duplicates shown in the shell
as the shell removes them before showing them to the user.  But we
really don't need the duplicates in the source script either.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/completion/git-completion.bash

index d75f47a..24b1818 100755 (executable)
@@ -579,7 +579,7 @@ _git_log ()
                __gitcomp "
                        --max-count= --max-age= --since= --after=
                        --min-age= --before= --until=
-                       --root --not --topo-order --date-order
+                       --root --topo-order --date-order
                        --no-merges
                        --abbrev-commit --abbrev=
                        --relative-date