Code

bash completion: move pickaxe options to log
authorThomas Rast <trast@student.ethz.ch>
Mon, 19 Jan 2009 21:17:59 +0000 (22:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Jan 2009 23:16:24 +0000 (15:16 -0800)
Move the options --pickaxe-all and --pickaxe-regex to git-log, where
they make more sense than with git-diff.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 60497a4c2a2dcc891d0a47c70b143e0a4159f47e..b5d3bbbceb4301132e565001cc8e23ce611a7f7d 100755 (executable)
@@ -784,7 +784,7 @@ _git_diff ()
                        --patch-with-stat --name-only --name-status --color
                        --no-color --color-words --no-renames --check
                        --full-index --binary --abbrev --diff-filter=
-                       --find-copies-harder --pickaxe-all --pickaxe-regex
+                       --find-copies-harder
                        --text --ignore-space-at-eol --ignore-space-change
                        --ignore-all-space --exit-code --quiet --ext-diff
                        --no-ext-diff
@@ -986,6 +986,7 @@ _git_log ()
                        --parents --children --full-history
                        --merge
                        --inter-hunk-context=
+                       --pickaxe-all --pickaxe-regex
                        "
                return
                ;;