From 969913577e2466c4ef4348b3088bf057277e2afd Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 28 Feb 2008 17:20:43 +0000 Subject: 24622: add completion for 'git bisect skip' and 'git bisect run'. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_git | 9 ++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0ce27c10..a7c36b32f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,14 @@ +2008-02-28 Clint Adams + + * 24622: Completion/Unix/Command/_git: add completion for + 'git bisect skip' and 'git bisect run'. + 2008-02-27 Peter Stephenson * 24618: Test/D07multibyte.ztst: use "sort" to avoid making assumptions about sorting of UTF-8 files. -2008-02-22 Clint Adams +2008-02-27 Clint Adams * 24617: Doc/Makefile.in: add '.' to the yodl include path for when files are passed as ../../Doc/*.yo. diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 516a3bf28..c597d94f3 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1395,6 +1395,8 @@ _git-bisect () { reset:"finish bisection search and return to the given branch (or master)" start:"reset bisection state and start a new bisection" visualize:"show the remaining revisions in gitk" + skip:"choose a nearby commit" + run:"run evaluation script" ) if (( CURRENT == 2 )); then @@ -1405,7 +1407,7 @@ _git-bisect () { _arguments \ '2:revision:__git_commits' && ret=0 ;; - (good) + (good|skip) _arguments \ '*:revision:__git_commits' && ret=0 ;; @@ -1417,6 +1419,11 @@ _git-bisect () { _arguments \ '2:branch:__git_heads' && ret=0 ;; + (run) + _arguments \ + '*::arguments: _normal' && ret=0 + ;; + (*) _nothing ;; -- cgit 1.4.1