rebase: add --reset-author-date
The previous commit introduced --ignore-date flag to rebase -i, but the name is rather vague as it does not say whether the author date or the committer date is ignored. Add an alias to convey the precise purpose. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
a3894aad67
commit
27126692ba
@ -1505,8 +1505,10 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
|
||||
OPT_BOOL(0, "committer-date-is-author-date",
|
||||
&options.committer_date_is_author_date,
|
||||
N_("make committer date match author date")),
|
||||
OPT_BOOL(0, "ignore-date", &options.ignore_date,
|
||||
OPT_BOOL(0, "reset-author-date", &options.ignore_date,
|
||||
N_("ignore author date and use current date")),
|
||||
OPT_HIDDEN_BOOL(0, "ignore-date", &options.ignore_date,
|
||||
N_("synonym of --reset-author-date")),
|
||||
OPT_PASSTHRU_ARGV('C', NULL, &options.git_am_opts, N_("n"),
|
||||
N_("passed to 'git apply'"), 0),
|
||||
OPT_BOOL(0, "ignore-whitespace", &ignore_whitespace,
|
||||
|
Reference in New Issue
Block a user