mbox series

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

Message ID pull.1133.git.1643321031.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series Really retire git-legacy-stash.sh | expand

Message

Philippe Blain via GitGitGadget Jan. 27, 2022, 10:03 p.m. UTC
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).

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(-)


base-commit: 89bece5c8c96f0b962cfc89e63f82d603fd60bed
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1133%2Fdscho%2Freally-retire-legacy-stash-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1133/dscho/really-retire-legacy-stash-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1133

Comments

Junio C Hamano Jan. 28, 2022, 1:59 a.m. UTC | #1
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
writes:

> 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 ;-)

> 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.