Re: [PATCH 4/5] doc: drop usage mentions of "git stash save"
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Oct 16, 2026, 08:01 UTC
- Message-ID
- <atHZyXcGzTQ5GkGm@pks.im>
- In-Reply-To
- <5a2ea087bf35a15760206e2c8ea1f8df5a43296a.1791827304.git.ben.knoble@gmail.com>
On Mon, Oct 12, 2026 at 01:48:30PM -0400, D. Ben Knoble wrote:
> Even though we previously deprecated it in fd2ebf14db (stash: mark "git > stash save" deprecated in the man page, 2017-10-22), the save subcommand > clings to life. For example, 951ec747d4 (doc txt & -h consistency: make
Heh :)
Show 10 quoted lines
> "stash" consistent, 2022-10-13) brought back "save" to the git-stash(1) > synopsis, and 41a28eb6c1 (stash: implement '--staged' option for 'push' > and 'save', 2021-10-18) gave it new options. But we really discourage > its use in modern Git, so let's drop mention of it from -h usage and the > synopsis. > > It's still described in the manual, since some descriptions talk about > the "save" command. As we haven't gone ahead with a full deprecation and > removal, we can leave these pieces for folks whose fingers still type > "save" and need a reference for its behavior.
I was wondering why we still have the command as part of our synopsis in case it's deprecated, so good that you address this, too.
Show 6 quoted lines
> Signed-off-by: D. Ben Knoble <ben.knoble@gmail.com> > --- > > Notes (benknoble/commits): > AFAICT there was no discussion of its deprecation when re-adding save to > the documentation, so I wonder if that was just an oversight.
I bet. In any case, I agree with removing it from our synopsis again.
Patrick