From: Junio C Hamano Date: Thu, 01 May 2025 21:34:52 GMT Subject: [PATCH 2/2] whatchanged: require --i-still-use-this Message-ID: <20250501213452.370729-3-gitster@pobox.com> In-Reply-To: <20250501213452.370729-1-gitster@pobox.com> The documentation of "git whatchanged" is pretty explicit that this has retained for historical reasons to help those whose fingers cannot be retrained. Let's see if they still are finding it hard to type "git log --raw" instead of "git whatchanged" by marking the command as "nominated for removal", and require "--i-still-use-this" on the command line. While at it, update the documentation page to use the new [synopsis] facility to mark-up the SYNOPSIS part. Signed-off-by: Junio C Hamano --- Documentation/git-whatchanged.adoc | 10 ++++++++-- builtin/log.c | 13 +++++++++++++ t/t4013-diff-various.sh | 17 +++++++++++++++-- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/Documentation/git-whatchanged.adoc b/Documentation/git-whatchanged.adoc index 8e55e0bb1e..d21484026f 100644 --- a/Documentation/git-whatchanged.adoc +++ b/Documentation/git-whatchanged.adoc @@ -8,8 +8,14 @@ git-whatchanged - Show logs with differences each commit introduces SYNOPSIS -------- -[verse] -'git whatchanged'