Re: [PATCH 1/4] usage: help the user help themselves
From: Jeff King <hidden>
Date: 2025-09-03 21:44:18
On Wed, Sep 03, 2025 at 05:21:47PM -0400, Eric Sunshine wrote:
quoted
I've seen "troubleshooting" questions from git users who got one of those long and well-described Hints like e.g. detached head and default git init branch when either the msg already spelled eveything out or the msg was purely informational.I didn't spell it out above, but what I had in mind was something very simple... not at all ong and detailed; for instance: For interactive use, define a Git alias `git whatchanged` which runs `git log --raw --no-merges`.
I think that is good advice, but... it won't do anything until we actually drop the whatchanged command, since until then we'll refuse to override the command (even the crippled --i-still-use-this one). We'd need something like the patch here: https://lore.kernel.org/git/20250830022718.GB567900@coredump.intra.peff.net/ (local) -Peff