mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
completion: add more parameter value completion
This adds value completion for a couple more paramters. To make it easier to maintain these hard coded lists, add a comment at the original list/code to remind people to update git-completion.bash too. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
35ee755a8c
commit
5a59a2301f
4
date.c
4
date.c
@@ -921,6 +921,10 @@ static enum date_mode_type parse_date_type(const char *format, const char **end)
|
||||
return DATE_UNIX;
|
||||
if (skip_prefix(format, "format", end))
|
||||
return DATE_STRFTIME;
|
||||
/*
|
||||
* Please update $__git_log_date_formats in
|
||||
* git-completion.bash when you add new formats.
|
||||
*/
|
||||
|
||||
die("unknown date format %s", format);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user