docs: update when `git bisect visualize` uses `gitk`
This check has involved more environment variables than just `DISPLAY` since 508e84a790 (bisect view: check for MinGW32 and MacOSX in addition to X11, 2008-02-14), so let's update the documentation accordingly. Signed-off-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthias Aßhauer committed
Aug 4, 2023 at 04:08 UTC
fff1594fa77372ea7a51f6b445267f23fdbf3089
1 file changed
+8
-3
Documentation/git-bisect.txt
+8
-3
@@ -204,9 +204,14 @@ as an alternative to `visualize`):
204
$ git bisect visualize
205
------------
206
207
-If the `DISPLAY` environment variable is not set, 'git log' is used
208
-instead. You can also give command-line options such as `-p` and
209
-`--stat`.
207
+Git detects a graphical environment through various environment variables:
208
+`DISPLAY`, which is set in X Window System environments on Unix systems.
209
+`SESSIONNAME`, which is set under Cygwin in interactive desktop sessions.
210
+`MSYSTEM`, which is set under Msys2 and Git for Windows.
211
+`SECURITYSESSIONID`, which may be set on macOS in interactive desktop sessions.
212
+
213
+If none of these environment variables is set, 'git log' is used instead.
214
+You can also give command-line options such as `-p` and `--stat`.
215
216
------------
217
$ git bisect visualize --stat