]> git.ipfire.org Git - thirdparty/git.git/commitdiff
builtin: unmark git-switch and git-restore as experimental
authorJustin Tobler <jltobler@gmail.com>
Mon, 28 Jul 2025 19:42:18 +0000 (14:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 21:24:03 +0000 (14:24 -0700)
In 4e43b7ff (Declare both git-switch and git-restore experimental,
2019-04-25), the newly introduced git-switch(1) and git-restore(1)
commands were marked as experimental. This was done to provide time to
make breaking changes to the interface. It has now been over six years
since these commands were implemented and there hasn't been much change.
Consequently, users have grown to rely on how these commands work and it
is no longer feasible to make any breaking changes.

Let's remove the experimental label for git-switch(1) and
git-restore(1).

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-restore.adoc
Documentation/git-switch.adoc

index 877b7772e66735fc26bf26f7ef00503563b07855..3763a7f4f435a45e1182a55ee515b5192228dcf5 100644 (file)
@@ -28,8 +28,6 @@ otherwise from the index. Use `--source` to restore from a different commit.
 See "Reset, restore and revert" in linkgit:git[1] for the differences
 between the three commands.
 
-THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
-
 OPTIONS
 -------
 `-s <tree>`::
index 9f62abf9e2b89a635334d8ebe1336e40b12a937e..87707e92652064c7385826d0d3515a1b99969e48 100644 (file)
@@ -29,8 +29,6 @@ Switching branches does not require a clean index and working tree
 however if the operation leads to loss of local changes, unless told
 otherwise with `--discard-changes` or `--merge`.
 
-THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
-
 OPTIONS
 -------
 _<branch>_::