File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1116,6 +1116,7 @@ __git_log_shortlog_options="
1116
1116
"
1117
1117
1118
1118
__git_log_pretty_formats=" oneline short medium full fuller email raw format:"
1119
+ __git_log_date_formats=" relative iso8601 rfc2822 short local default raw"
1119
1120
1120
1121
_git_log ()
1121
1122
{
@@ -1139,9 +1140,7 @@ _git_log ()
1139
1140
return
1140
1141
;;
1141
1142
--date=* )
1142
- __gitcomp "
1143
- relative iso8601 rfc2822 short local default
1144
- " " " " ${cur## --date=} "
1143
+ __gitcomp " $__git_log_date_formats " " " " ${cur## --date=} "
1145
1144
return
1146
1145
;;
1147
1146
--* )
@@ -1352,6 +1351,10 @@ _git_config ()
1352
1351
__gitcomp " man info web html"
1353
1352
return
1354
1353
;;
1354
+ log.date)
1355
+ __gitcomp " $__git_log_date_formats "
1356
+ return
1357
+ ;;
1355
1358
* .* )
1356
1359
COMPREPLY=()
1357
1360
return
You can’t perform that action at this time.
0 commit comments