git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] Really retire git-legacy-stash.sh

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 28, 2022, 01:59 UTC
Message-ID
<xmqqpmocy60i.fsf@gitster.g>
In-Reply-To
<pull.1133.git.1643321031.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 9 quoted lines
> After proving out git stash for a very long time as a shell script, we
> eventually converted it to a proper built-in, leaving an escape hatch in
> place to call the scripted version.
>
> After another very long time, we removed that escape hatch, leaving behind a
> warning.
>
> Now, almost two years later, let's remove even that warning (and a couple of
> tidbits that we inadvertently left in the code base).

Yay. We probably could have done this when we disabled the escape hatch, but better late than never ;-)

Show 13 quoted lines
> Johannes Schindelin (4):
>   git-sh-setup: remove remnant bits referring to `git-legacy-stash`
>   add: remove support for `git-legacy-stash`
>   Remove documentation for `stash.useBuiltin`
>   stash: stop warning about the obsolete `stash.useBuiltin` config
>     setting
>
>  Documentation/config/stash.txt |  7 -------
>  builtin/add.c                  | 14 --------------
>  builtin/stash.c                | 10 ----------
>  git-sh-setup.sh                |  1 -
>  t/t3903-stash.sh               | 15 ---------------
>  5 files changed, 47 deletions(-)

It is surprisingly small removal, but matches the explanation above, i.e. the actual old implementation was gone long time ago.

Looking good.
Thanks.
Previous: Johannes Schindelin via GitGitGadget
Message 6 of 6 in “Really retire git-legacy-stash.sh”
  1. 0/4 Really retire git-legacy-stash.shJohannes Schindelin via GitGitGadget, Jan 27, 2022
  2. 1/4 git-sh-setup: remove remnant bits referring to `git-legacy-stash`Johannes Schindelin via GitGitGadget, Jan 27, 2022
  3. 2/4 add: remove support for `git-legacy-stash`Johannes Schindelin via GitGitGadget, Jan 27, 2022
  4. 3/4 Remove documentation for `stash.useBuiltin`Johannes Schindelin via GitGitGadget, Jan 27, 2022
  5. 4/4 stash: stop warning about the obsolete `stash.useBuiltin` config settingJohannes Schindelin via GitGitGadget, Jan 27, 2022
  6. Junio C HamanoJan 28, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.