summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-03-07 09:59:57 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-07 09:59:58 +0900
commitb0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8 (patch)
treed07202c20257da961faf1f9a2d4852371c0289ca /date.c
parentMerge branch 'ab/receive-pack-use-after-free-fix' (diff)
parentcompletion: add more parameter value completion (diff)
downloadtgif-b0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8.tar.xz
Merge branch 'nd/completion-more-parameters'
The command line completion (in contrib/) has been taught to complete more subcommand parameters. * nd/completion-more-parameters: completion: add more parameter value completion
Diffstat (limited to 'date.c')
-rw-r--r--date.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/date.c b/date.c
index 9c5870e102..8126146c50 100644
--- a/date.c
+++ b/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);
}