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 d75f47a1acc85f901a32482f06a8fb47b68a83bb..24b18183fdb652242a1f48b52fad49ed39a38e31 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