format-patch/log/whatchanged all take --not and --all as options
to the internal revlist process. So these should be supported
as possible completions.
gitk takes anything rev-list/log/whatchanged takes, so we should
use complete_revlist to handle its options.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
--signoff
--in-reply-to=
--full-index --binary
+ --not --all
"
return
;;
--author= --committer= --grep=
--all-match
--pretty= --name-status --name-only
+ --not --all
"
return
;;
return
;;
esac
- __gitcomp "$(__git_refs)"
+ __git_complete_revlist
}
complete -o default -o nospace -F _git git