Jelajahi Sumber

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 5 tahun lalu
induk
melakukan
9931060f06
1 mengubah file dengan 5 tambahan dan 3 penghapusan
  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
 .. 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:
 Compile Godot. This assumes you've set up a build environment: