Message ID | 80245bbb7e5467c6d4dd056eff9f12b810ba7129.1693584310.git.code@khaugsbakk.name (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | range-diff: treat notes like `log` | expand |
diff --git a/revision.c b/revision.c index 64aebc014b..44a04004a7 100644 --- a/revision.c +++ b/revision.c @@ -2501,6 +2501,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg &revs->show_notes); revs->notes_opt.use_default_notes = -1; } else if (!strcmp(arg, "--no-standard-notes")) { + /* Deprecated */ revs->notes_opt.use_default_notes = 0; } else if (!strcmp(arg, "--oneline")) { revs->verbose_header = 1;
`--standard-notes` used to be deprecated but is now (since 6a4fe606cf[1]) used internally. Its negation `--no-standard-notes`, however, is still deprecated even for internal use. Mark this option as such. † 1: range-diff: treat notes like `log`, 2023-05-19 Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> --- Notes (series): • Move comment: https://lore.kernel.org/git/xmqqbkhk724x.fsf@gitster.g/ • Tweak commit message so that it's clearer why we are only commenting “no” as deprecated and not the other option as well revision.c | 1 + 1 file changed, 1 insertion(+)