Add some more git-log options to the gitk completion. Not all of them make sense, unfortunately. Signed-off-by: Thomas Rast <trast@xxxxxxxxxxxxxxx> --- I was simply too lazy to keep typing --simplify-by-decoration. I made two passes over the git-log manpage and simply selected all options that seemed to make sense, _seemed_ to work, and that didn't mangle the history view in horrible ways (such as disconnecting it into little pieces). It does handle --left-right correctly, very nice! contrib/completion/git-completion.bash | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index a7a10c0..cedca6d 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1808,7 +1808,15 @@ _gitk () fi case "$cur" in --*) - __gitcomp "--not --all $merge" + __gitcomp " + --not --all $merge + --branches --tags --remotes + --first-parent + --dense --sparse --full-history + --simplify-merges --simplify-by-decoration + --since= --after= --until= --before= + --left-right + " return ;; esac -- 1.6.2.rc0.293.g947001 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html