Skip to content

Commit fff1594

Browse files
rimrulgitster
authored andcommitted
docs: update when git bisect visualize uses gitk
This check has involved more environment variables than just `DISPLAY` since 508e84a (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2bf46a9 commit fff1594

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Documentation/git-bisect.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,14 @@ as an alternative to `visualize`):
204204
$ git bisect visualize
205205
------------
206206

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`.
210215

211216
------------
212217
$ git bisect visualize --stat

0 commit comments

Comments
 (0)