Update bisect guide (#685)

* Remove install from bisect guide

* Add skip command to bisect guide
This commit is contained in:
davc0n 2024-06-16 10:43:13 +00:00 committed by GitHub
parent 61a398af53
commit bbaf72d64a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,19 +98,19 @@ git bisect bad HEAD
``` ```
_git_ will now checkout a commit in the middle of the specified range. _git_ will now checkout a commit in the middle of the specified range.
Now, reset, build and install Hyprland: Now, reset and build Hyprland:
```sh ```sh
git reset --hard --recurse-submodules git reset --hard --recurse-submodules
make all make all
sudo make install
``` ```
...and run Hyprland from the TTY. ...and run the built executable from the TTY `./build/Hyprland`.
Try to reproduce your issue. If you can't (i.e. the bug is not present), go back to the Try to reproduce your issue. If you can't (i.e. the bug is not present), go back to the
Hyprland repo and run `git bisect good`. If you can reproduce it, run `git bisect bad`. Hyprland repo and run `git bisect good`. If you can reproduce it, run `git bisect bad`.
_git_ will then checkout another commit and continue the binary search. _git_ will then checkout another commit and continue the binary search.
If there's a build error, run `git bisect skip`.
Reset, build and install Hyprland again and repeat this step until _git_ identifies the Reset, build and install Hyprland again and repeat this step until _git_ identifies the
commit that introduced the bug: commit that introduced the bug: