]> git.ipfire.org Git - thirdparty/git.git/commit
add: remove "add.interactive.useBuiltin" & Perl "git add--interactive"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 6 Feb 2023 22:58:56 +0000 (23:58 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Feb 2023 23:03:34 +0000 (15:03 -0800)
commit20b813d7d3dc576aa58de22da2450b49116945bf
tree65b0eefe69a58901e3aeade72141263321a8aac1
parenta6a323b31e2bcbac2518bddec71ea7ad558870eb
add: remove "add.interactive.useBuiltin" & Perl "git add--interactive"

Since [1] first released with Git v2.37.0 the built-in version of "add
-i" has been the default. That built-in implementation was added in
[2], first released with Git v2.25.0.

At this point enough time has passed to allow for finding any
remaining bugs in this new implementation, so let's remove the
fallback code.

As with similar migrations for "stash"[3] and "rebase"[4] we're
keeping a mention of "add.interactive.useBuiltin" in the
documentation, but adding a warning() to notify any outstanding users
that the built-in is now the default. As with [5] and [6] we should
follow-up in the future and eventually remove that warning.

1. 0527ccb1b55 (add -i: default to the built-in implementation,
   2021-11-30)
2. f83dff60a78 (Start to implement a built-in version of `git add
   --interactive`, 2019-11-13)
3. 8a2cd3f5123 (stash: remove the stash.useBuiltin setting,
   2020-03-03)
4. d03ebd411c6 (rebase: remove the rebase.useBuiltin setting,
   2019-03-18)
5. deeaf5ee077 (stash: remove documentation for `stash.useBuiltin`,
   2022-01-27)
6. 9bcde4d5314 (rebase: remove transitory rebase.useBuiltin setting &
   env, 2021-03-23)

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 files changed:
.gitignore
Documentation/config/add.txt
INSTALL
Makefile
builtin/add.c
ci/run-build-and-tests.sh
git-add--interactive.perl [deleted file]
t/README
t/t2016-checkout-patch.sh
t/t3701-add-interactive.sh
t/t6132-pathspec-exclude.sh
t/test-lib.sh