Parcourir la source

Use a more explicit `git bisect` command in Bisecting regressions

This command makes it possible to specify the good and bad commits
in any order, avoiding issues with specifying commits in the wrong
order.
Hugo Locurcio il y a 5 ans
Parent
commit
9931060f06
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      community/contributing/bisecting_regressions.rst

+ 5 - 3
community/contributing/bisecting_regressions.rst

@@ -95,9 +95,11 @@ folder and enter the following command:
 
 .. code-block:: shell
 
-    # <good> is the commit hash of the build that works as expected.
-    # <bad> is the commit hash of the build exhibiting the bug.
-    $ git bisect start <good> <bad>
+    # <good commit hash> is hash of the build that works as expected.
+    # <bad commit hash> is hash of the build exhibiting the bug.
+    $ git bisect start
+    $ git bisect good <good commit hash>
+    $ git bisect bad <bad commit hash>
 
 Compile Godot. This assumes you've set up a build environment: