completion: update am, commit, and log

git am learned --scissors, git commit learned --dry-run and git log
learned --decorate=long|short recently.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Stephen Boyd 2009-10-07 01:48:50 -07:00 коммит произвёл Junio C Hamano
Родитель 294ac78d14
Коммит af4e9e8c87
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -668,7 +668,7 @@ _git_am ()
--3way --committer-date-is-author-date --ignore-date --3way --committer-date-is-author-date --ignore-date
--ignore-whitespace --ignore-space-change --ignore-whitespace --ignore-space-change
--interactive --keep --no-utf8 --signoff --utf8 --interactive --keep --no-utf8 --signoff --utf8
--whitespace= --whitespace= --scissors
" "
return return
esac esac
@ -894,6 +894,7 @@ _git_commit ()
__gitcomp " __gitcomp "
--all --author= --signoff --verify --no-verify --all --author= --signoff --verify --no-verify
--edit --amend --include --only --interactive --edit --amend --include --only --interactive
--dry-run
" "
return return
esac esac
@ -1179,6 +1180,10 @@ _git_log ()
__gitcomp "$__git_log_date_formats" "" "${cur##--date=}" __gitcomp "$__git_log_date_formats" "" "${cur##--date=}"
return return
;; ;;
--decorate=*)
__gitcomp "long short" "" "${cur##--decorate=}"
return
;;
--*) --*)
__gitcomp " __gitcomp "
$__git_log_common_options $__git_log_common_options
@ -1191,7 +1196,7 @@ _git_log ()
--pretty= --format= --oneline --pretty= --format= --oneline
--cherry-pick --cherry-pick
--graph --graph
--decorate --decorate --decorate=
--walk-reflogs --walk-reflogs
--parents --children --parents --children
$merge $merge