Like git log --raw with a different default. Mostly historical.
Older-style log output, kept for compatibility. It's git log --raw with a different default and a name from the pre-2.x era.
whatchanged exists because that's what early Git users typed; modern Git redirects to log internals with --raw turned on by default. There is no reason to learn it as a new user.
git whatchanged [<options>] [<revision-range>] [[--] <path>...]
Accepts essentially every option git log accepts. Differs from log only in
that it implies --raw and historically did not show merges by default.| Flag | What it does |
|---|---|
-p | Show patch (overrides the default --raw behavior). |
--since=<date> / --until=<date> | Time-bound the range. |
--author=<pattern> | Filter by author. |
--no-merges | Skip merge commits (the historical default for whatchanged). |
-- <path>... | Limit to changes touching specific paths. |
git log --raw --no-mergesgit whatchangedgit whatchanged -p -- src/git log --raw --since='2 weeks ago'git log --raw instead. It's the documented modern command and accepts every flag whatchanged does.git log --raw --no-merges for behavioral equivalence.git log and surprises people who switch between the two.git log --raw.Hit each option, then Check answers. Score is recorded; Next is always open.