completion: complete values for log.date
Add raw to the date formats too. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
9b82d63b5a
commit
672c68cbb9
@ -1116,6 +1116,7 @@ __git_log_shortlog_options="
|
|||||||
"
|
"
|
||||||
|
|
||||||
__git_log_pretty_formats="oneline short medium full fuller email raw format:"
|
__git_log_pretty_formats="oneline short medium full fuller email raw format:"
|
||||||
|
__git_log_date_formats="relative iso8601 rfc2822 short local default raw"
|
||||||
|
|
||||||
_git_log ()
|
_git_log ()
|
||||||
{
|
{
|
||||||
@ -1139,9 +1140,7 @@ _git_log ()
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--date=*)
|
--date=*)
|
||||||
__gitcomp "
|
__gitcomp "$__git_log_date_formats" "" "${cur##--date=}"
|
||||||
relative iso8601 rfc2822 short local default
|
|
||||||
" "" "${cur##--date=}"
|
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--*)
|
--*)
|
||||||
@ -1352,6 +1351,10 @@ _git_config ()
|
|||||||
__gitcomp "man info web html"
|
__gitcomp "man info web html"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
log.date)
|
||||||
|
__gitcomp "$__git_log_date_formats"
|
||||||
|
return
|
||||||
|
;;
|
||||||
*.*)
|
*.*)
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user