Skip to content

Commit e836757

Browse files
committed
whatschanged: list it in BreakingChanges document
This can be squashed into the previous step. That is how our "git pack-redundant" conversion did. Theoretically, however, those who want to gauge the need to keep the command by exposing their users to patches before this one may want to wait until their experiment finishes before they formally say "this will go away". This change is made into a separate patch from the previous step precisely to help those folks. While at it, update the documentation page to use the new [synopsis] facility to mark-up the SYNOPSIS part. Helped-by: Elijah Newren <[email protected]> [en: typofix] Signed-off-by: Junio C Hamano <[email protected]>
1 parent 07572f2 commit e836757

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Documentation/BreakingChanges.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,15 @@ references.
178178
+
179179
These features will be removed.
180180

181+
* The git-whatchanged(1) command has outlived its usefulness more than
182+
10 years ago, and takes more keystrokes to type than its rough
183+
equivalent `git log --raw`. We have nominated the command for
184+
removal, have changed the command to refuse to work unless the
185+
`--i-still-use-this` option is given, and asked the users to report
186+
when they do so. So far there hasn't been a single complaint.
187+
+
188+
The command will be removed.
189+
181190
== Superseded features that will not be deprecated
182191

183192
Some features have gained newer replacements that aim to improve the design in

Documentation/git-whatchanged.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ git-whatchanged - Show logs with differences each commit introduces
88

99
SYNOPSIS
1010
--------
11-
[verse]
12-
'git whatchanged' <option>...
11+
[synopsis]
12+
git whatchanged <option>...
13+
14+
WARNING
15+
-------
16+
`git whatchanged` has been deprecated and is scheduled for removal in
17+
a future version of Git, as it is merely `git log` with different
18+
default; `whatchanged` is not even shorter to type than `log --raw`.
1319

1420
DESCRIPTION
1521
-----------

0 commit comments

Comments
 (0)