Преглед на файлове

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 години
родител
ревизия
9931060f06
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  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: