Blob


1 .\"
2 .\" Copyright (c) 2018 Stefan Sperling
3 .\"
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
7 .\"
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 .\"
16 .Dd $Mdocdate$
17 .Dt TOG 1
18 .Os
19 .Sh NAME
20 .Nm tog
21 .Nd Git repository browser
22 .Sh SYNOPSIS
23 .Nm
24 .Op Ar command
25 .Op Fl h
26 .Op Ar arg ...
27 .Pp
28 .Nm
29 .Ar path
30 .Sh DESCRIPTION
31 .Nm
32 is an interactive read-only browser for Git repositories.
33 This repository format is described in
34 .Xr git-repository 5 .
35 .Pp
36 .Nm
37 supports several types of views which display repository data:
38 .Bl -tag -width Ds
39 .It Log view
40 Displays commits in the repository's history.
41 This view is displayed initially if no
42 .Ar command
43 is specified, or if just a
44 .Ar path
45 is specified.
46 .It Diff view
47 Displays changes made in a particular commit.
48 .It Blame view
49 Displays the line-by-line history of a file.
50 .It Tree view
51 Displays the tree corresponding to a particular commit.
52 .It Ref view
53 Displays references in the repository.
54 .El
55 .Pp
56 .Nm
57 provides global and command-specific key bindings and options.
58 Some command-specific key bindings may be prefixed with an integer, which is
59 denoted by N in the descriptions below, and is used as a modifier to the
60 operation as indicated.
61 .Nm
62 will echo digits to the screen when count modifiers are entered, and complete
63 the sequence upon input of the first non-numeric character.
64 Count modifiers can be aborted by entering an unmapped key.
65 Once a compound command is executed, the operation can be cancelled with
66 .Cm C-g
67 or
68 .Cm Backspace .
69 .Pp
70 The global key bindings are:
71 .Bl -tag -width Ds
72 .It Cm Q
73 Quit
74 .Nm .
75 .It Cm q
76 Quit the view which is in focus.
77 .It Cm Tab
78 Switch focus between views.
79 .It Cm F
80 Toggle fullscreen mode for a split-screen view.
81 .Nm
82 will automatically use vertical split-screen views if the size of the
83 terminal window is sufficiently large.
84 .It Cm S
85 Switch the current split-screen layout, and render all active views in
86 this new layout.
87 The split-screen layout can be either vertical or horizontal.
88 If the terminal is not wide enough when switching to a vertical split,
89 views will render in fullscreen.
90 .It Cm -
91 When in a split-screen view, decrease the size of the focussed split
92 N increments (default: 1).
93 .It Cm +
94 When in a split-screen view, increase the size of the focussed split
95 N increments (default: 1).
96 .El
97 .Pp
98 Global options must precede the command name, and are as follows:
99 .Bl -tag -width tenletters
100 .It Fl h
101 Display usage information.
102 .It Fl V , -version
103 Display program version and exit immediately.
104 .El
105 .Pp
106 The commands for
107 .Nm
108 are as follows:
109 .Bl -tag -width blame
110 .It Cm log Oo Fl b Oc Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
111 Display history of a repository.
112 If a
113 .Ar path
114 is specified, show only commits which modified this path.
115 If invoked in a work tree, the
116 .Ar path
117 is interpreted relative to the current working directory,
118 and the work tree's path prefix is implicitly prepended.
119 Otherwise, the path is interpreted relative to the repository root.
120 .Pp
121 This command is also executed if no explicit command is specified.
122 .Pp
123 The key bindings for
124 .Cm tog log
125 are as follows (N denotes optional prefixed count modifier):
126 .Bl -tag -width Ds
127 .It Cm Down-arrow, j, >, Full stop, Ctrl-n
128 Move the selection cursor down N lines (default: 1).
129 .It Cm Up-arrow, k, <, Comma, Ctrl-p
130 Move the selection cursor up N lines (default: 1).
131 .It Cm Right-arrow, l
132 Scroll log message field to the right N increments (default: 1).
133 .br
134 Log message moves left on the screen.
135 .It Cm Left-arrow, h
136 Scroll log message field to the left N increments (default: 1).
137 .br
138 Log message moves right on the screen.
139 .It Cm $
140 Scroll log message field to the rightmost position.
141 .It Cm 0
142 Scroll log message field to the leftmost position.
143 .It Cm Page-down, Space, Ctrl+f, f
144 Move the selection cursor down N pages (default: 1).
145 .It Cm Page-up, Ctrl+b, b
146 Move the selection cursor up N pages (default: 1).
147 .It Cm Ctrl+d, d
148 Move the selection cursor down N half pages (default: 1).
149 .It Cm Ctrl+u, u
150 Move the selection cursor up N half pages (default: 1).
151 .It Cm Home, g
152 Move the cursor to the newest commit.
153 .It Cm End, G
154 Move the cursor to the oldest commit.
155 This will traverse all commits on the current branch which may take
156 a long time depending on the number of commits in branch history.
157 If needed, this operation can be cancelled with
158 .Cm C-g
159 or
160 .Cm Backspace .
161 .It Cm Enter
162 Open a
163 .Cm diff
164 view showing file changes made in the currently selected commit.
165 .It Cm t
166 Open a
167 .Cm tree
168 view showing the tree for the currently selected commit.
169 .It Cm Backspace
170 Show log entries for the parent directory of the currently selected path.
171 However when an active search is in progress or when additional commits
172 are loaded,
173 .Cm Backspace
174 aborts the running operation.
175 .It Cm /
176 Prompt for a search pattern and start searching for matching commits.
177 The search pattern is an extended regular expression which is matched
178 against a commit's author name, committer name, log message, and
179 commit ID SHA1 hash.
180 Regular expression syntax is documented in
181 .Xr re_format 7 .
182 .It Cm n
183 Find the Nth next commit which matches the current search pattern (default: 1).
184 .br
185 Searching continues until either a match is found or
186 .Cm C-g
187 or the
188 .Cm Backspace
189 key is pressed.
190 .It Cm N
191 Find the Nth previous commit which matches the current search pattern
192 (default: 1).
193 .br
194 Searching continues until either a match is found or
195 .Cm C-g
196 or the
197 .Cm Backspace
198 key is pressed.
199 .It Cm Ctrl+l
200 Reload the
201 .Cm log
202 view with new commits found in the repository.
203 .It Cm B
204 Reload the
205 .Cm log
206 view and toggle display of merged commits.
207 The
208 .Fl b
209 option determines whether merged commits are displayed initially.
210 .It Cm r
211 Open a
212 .Cm ref
213 view listing all references in the repository.
214 This can then be used to open a new
215 .Cm log
216 view for arbitrary branches and tags.
217 .It Cm @
218 Toggle between showing the author and the committer name.
219 .El
220 .Pp
221 The options for
222 .Cm tog log
223 are as follows:
224 .Bl -tag -width Ds
225 .It Fl b
226 Display individual commits which were merged into the current branch
227 from other branches.
228 By default,
229 .Cm tog log
230 shows the linear history of the current branch only.
231 The
232 .Cm B
233 key binding can be used to toggle display of merged commits at run-time.
234 .It Fl c Ar commit
235 Start traversing history at the specified
236 .Ar commit .
237 The expected argument is the name of a branch or a commit ID SHA1 hash.
238 An abbreviated hash argument will be expanded to a full SHA1 hash
239 automatically, provided the abbreviation is unique.
240 If this option is not specified, default to the work tree's current branch
241 if invoked in a work tree, or to the repository's HEAD reference.
242 .It Fl r Ar repository-path
243 Use the repository at the specified path.
244 If not specified, assume the repository is located at or above the current
245 working directory.
246 If this directory is a
247 .Xr got 1
248 work tree, use the repository path associated with this work tree.
249 .El
250 .It Cm diff Oo Fl a Oc Oo Fl C Ar number Oc Oo Fl r Ar repository-path Oc Oo Fl w Oc Ar object1 Ar object2
251 Display the differences between two objects in the repository.
252 Treat each of the two arguments as a reference, a tag name, or an object
253 ID SHA1 hash, and display differences between the corresponding objects.
254 Both objects must be of the same type (blobs, trees, or commits).
255 An abbreviated hash argument will be expanded to a full SHA1 hash
256 automatically, provided the abbreviation is unique.
257 .Pp
258 The key bindings for
259 .Cm tog diff
260 are as follows (N denotes optional prefixed count modifier):
261 .Bl -tag -width Ds
262 .It Cm a
263 Toggle treatment of file contents as ASCII text even if binary data was
264 detected.
265 .It Cm Down-arrow, j, Ctrl-n
266 Scroll down N lines (default: 1).
267 .It Cm Up-arrow, k, Ctrl-p
268 Scroll up N lines (default: 1).
269 .It Cm Right-arrow, l
270 Scroll view to the right N increments (default: 1).
271 .br
272 Diff output moves left on the screen.
273 .It Cm Left-arrow, h
274 Scroll view to the left N increments (default: 1).
275 .br
276 Diff output moves right on the screen.
277 .It Cm $
278 Scroll view to the rightmost position.
279 .It Cm 0
280 Scroll view left to the start of the line.
281 .It Cm Page-down, Space, Ctrl+f, f
282 Scroll down N pages (default: 1).
283 .It Cm Page-up, Ctrl+b, b
284 Scroll up N pages (default: 1).
285 .It Cm Ctrl+d, d
286 Scroll down N half pages (default: 1).
287 .It Cm Ctrl+u, u
288 Scroll up N half pages (default: 1).
289 .It Cm Home, g
290 Scroll to the top of the view.
291 .It Cm End, G
292 Scroll to the bottom of the view.
293 .It Cm \&[
294 Reduce diff context by N lines (default: 1).
295 .It Cm \&]
296 Increase diff context by N lines (default: 1).
297 .It Cm <, Comma, K
298 If the
299 .Cm diff
300 view was opened via the
301 .Cm log
302 view, move to the Nth previous (younger) commit.
303 If the diff was opened via the
304 .Cm blame
305 view, move to the Nth previous line and load the corresponding commit
306 (default: 1).
307 .It Cm >, Full stop, J
308 If the
309 .Cm diff
310 view was opened via the
311 .Cm log
312 view, move to the Nth next (older) commit.
313 If the diff was opened via the
314 .Cm blame
315 view, move to the Nth next line and load the corresponding commit (default: 1).
316 .It Cm /
317 Prompt for a search pattern and start searching for matching lines.
318 The search pattern is an extended regular expression.
319 Regular expression syntax is documented in
320 .Xr re_format 7 .
321 .It Cm n
322 Find the Nth next line which matches the current search pattern (default: 1).
323 .It Cm N
324 Find the Nth previous line which matches the current search pattern
325 (default: 1).
326 .It Cm w
327 Toggle display of whitespace-only changes.
328 .It Cm A
329 Change the diff algorithm.
330 Supported diff algorithms are Myers (quick and dirty) and
331 Patience (slow and tidy).
332 This is a global setting which also affects the
333 .Cm blame
334 view.
335 .El
336 .Pp
337 The options for
338 .Cm tog diff
339 are as follows:
340 .Bl -tag -width Ds
341 .It Fl a
342 Treat file contents as ASCII text even if binary data is detected.
343 .It Fl C Ar number
344 Set the number of context lines shown in the diff.
345 By default, 3 lines of context are shown.
346 .It Fl r Ar repository-path
347 Use the repository at the specified path.
348 If not specified, assume the repository is located at or above the current
349 working directory.
350 If this directory is a
351 .Xr got 1
352 work tree, use the repository path associated with this work tree.
353 .It Fl w
354 Ignore whitespace-only changes.
355 .El
356 .It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path
357 Display line-by-line history of a file at the specified path.
358 .Pp
359 The key bindings for
360 .Cm tog blame
361 are as follows (N denotes optional prefixed count modifier):
362 .Bl -tag -width Ds
363 .It Cm Down-arrow, j, Ctrl-n
364 Move the selection cursor down N pages (default: 1).
365 .It Cm Up-arrow, k, Ctrl-p
366 Move the selection cursor up N pages (default: 1).
367 .It Cm Right-arrow, l
368 Scroll view to the right N increments (default: 1).
369 .br
370 File output moves left on the screen.
371 .It Cm Left-arrow, h
372 Scroll view to the left N increments (default: 1).
373 .br
374 File output moves right on the screen.
375 .It Cm $
376 Scroll view to the rightmost position.
377 .It Cm 0
378 Scroll view left to the start of the line.
379 .It Cm Page-down, Space, Ctrl+f, f
380 Move the selection cursor down N pages (default: 1).
381 .It Cm Page-up, Ctrl+b, b
382 Move the selection cursor up N pages (default: 1).
383 .It Cm Ctrl+d, d
384 Move the selection cursor down N half pages (default: 1).
385 .It Cm Ctrl+u, u
386 Move the selection cursor up N half pages (default: 1).
387 .It Cm Home, g
388 Move the selection cursor to the first line of the file.
389 .It Cm End, G
390 Move the selection cursor to the last line of the file.
391 .It Cm Enter
392 Open a
393 .Cm diff
394 view for the currently selected line's commit.
395 .It Cm c
396 Reload the
397 .Cm blame
398 view with the version of the file as found in the currently
399 selected line's commit.
400 .It Cm p
401 Reload the
402 .Cm blame
403 view with the version of the file as found in the parent commit of the
404 currently selected line's commit.
405 .It Cm C
406 Reload the
407 .Cm blame
408 view with the previously blamed commit.
409 .It Cm L
410 Open a
411 .Cm log
412 view for the currently selected annotated line.
413 .It Cm /
414 Prompt for a search pattern and start searching for matching lines.
415 The search pattern is an extended regular expression.
416 Regular expression syntax is documented in
417 .Xr re_format 7 .
418 .It Cm n
419 Find the Nth next line which matches the current search pattern (default: 1).
420 .It Cm N
421 Find the Nth previous line which matches the current search pattern
422 (default: 1).
423 .It Cm A
424 Change the diff algorithm.
425 Supported diff algorithms are Myers (quick and dirty) and
426 Patience (slow and tidy).
427 This is a global setting which also affects the
428 .Cm diff
429 view.
430 .El
431 .Pp
432 The options for
433 .Cm tog blame
434 are as follows:
435 .Bl -tag -width Ds
436 .It Fl c Ar commit
437 Start traversing history at the specified
438 .Ar commit .
439 The expected argument is the name of a branch or a commit ID SHA1 hash.
440 An abbreviated hash argument will be expanded to a full SHA1 hash
441 automatically, provided the abbreviation is unique.
442 .It Fl r Ar repository-path
443 Use the repository at the specified path.
444 If not specified, assume the repository is located at or above the current
445 working directory.
446 If this directory is a
447 .Xr got 1
448 work tree, use the repository path associated with this work tree.
449 .El
450 .It Cm tree Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
451 Display the repository tree.
452 If a
453 .Ar path
454 is specified, show tree entries at this path.
455 .Pp
456 Displayed tree entries may carry one of the following trailing annotations:
457 .Bl -column YXZ description
458 .It @ Ta entry is a symbolic link
459 .It / Ta entry is a directory
460 .It * Ta entry is an executable file
461 .It $ Ta entry is a Git submodule
462 .El
463 .Pp
464 Symbolic link entries are also annotated with the target path of the link.
465 .Pp
466 The key bindings for
467 .Cm tog tree
468 are as follows (N denotes optional prefixed count modifier):
469 .Bl -tag -width Ds
470 .It Cm Down-arrow, j, Ctrl-n
471 Move the selection cursor down N lines (default: 1).
472 .It Cm Up-arrow, k, Ctrl-p
473 Move the selection cursor up N lines (default: 1).
474 .It Cm Page-down, Space, Ctrl+f, f
475 Move the selection cursor down N pages (default: 1).
476 .It Cm Page-up, Ctrl+b, b
477 Move the selection cursor up N pages (default: 1).
478 .It Cm Ctrl+d, d
479 Move the selection cursor down N half pages (default: 1).
480 .It Cm Ctrl+u, u
481 Move the selection cursor up N half pages (default: 1).
482 .It Cm Home, g
483 Move the selection cursor to the first entry.
484 .It Cm End, G
485 Move the selection cursor to the last entry.
486 .It Cm Enter
487 Enter the currently selected directory, or switch to the
488 .Cm blame
489 view for the currently selected file.
490 .It Cm l
491 Open a
492 .Cm log
493 view for the currently selected tree entry.
494 .It Cm r
495 Open a
496 .Cm ref
497 view listing all references in the repository.
498 This can then be used to open a new
499 .Cm tree
500 view for arbitrary branches and tags.
501 .It Cm Backspace
502 Move back to the Nth parent directory (default: 1).
503 .It Cm i
504 Show object IDs for all objects displayed in the
505 .Cm tree
506 view.
507 .It Cm /
508 Prompt for a search pattern and start searching for matching tree entries.
509 The search pattern is an extended regular expression which is matched
510 against the tree entry's name.
511 Regular expression syntax is documented in
512 .Xr re_format 7 .
513 .It Cm n
514 Find the Nth next tree entry which matches the current search pattern
515 (default: 1).
516 .It Cm N
517 Find the Nth previous tree entry which matches the current search pattern
518 (default: 1).
519 .El
520 .Pp
521 The options for
522 .Cm tog tree
523 are as follows:
524 .Bl -tag -width Ds
525 .It Fl c Ar commit
526 Start traversing history at the specified
527 .Ar commit .
528 The expected argument is the name of a branch or a commit ID SHA1 hash.
529 An abbreviated hash argument will be expanded to a full SHA1 hash
530 automatically, provided the abbreviation is unique.
531 .It Fl r Ar repository-path
532 Use the repository at the specified path.
533 If not specified, assume the repository is located at or above the current
534 working directory.
535 If this directory is a
536 .Xr got 1
537 work tree, use the repository path associated with this work tree.
538 .El
539 .It Cm ref Oo Fl r Ar repository-path Oc
540 Display references in the repository.
541 .Pp
542 The key bindings for
543 .Cm tog ref
544 are as follows (N denotes optional prefixed count modifier):
545 .Bl -tag -width Ds
546 .It Cm Down-arrow, j, Ctrl-n
547 Move the selection cursor down N lines (default: 1).
548 .It Cm Up-arrow, k, Ctrl-p
549 Move the selection cursor up N lines (default: 1).
550 .It Cm Page-down, Space, Ctrl+f, f
551 Move the selection cursor down N pages (default: 1).
552 .It Cm Page-up, Ctrl+b, b
553 Move the selection cursor up N pages (default: 1).
554 .It Cm Ctrl+d, d
555 Move the selection cursor down N half pages (default: 1).
556 .It Cm Ctrl+u, u
557 Move the selection cursor up N half pages (default: 1).
558 .It Cm Home, g
559 Move the selection cursor to the first reference.
560 .It Cm End, G
561 Move the selection cursor to the last reference.
562 .It Cm Enter
563 Open a
564 .Cm log
565 view which begins traversing history at the commit resolved via the
566 currently selected reference.
567 .It Cm t
568 Open a
569 .Cm tree
570 view showing the tree resolved via the currently selected reference.
571 .It Cm i
572 Show object IDs for all non-symbolic references displayed in the
573 .Cm ref
574 view.
575 .It Cm m
576 Show last modified date of each displayed reference.
577 .It Cm o
578 Toggle display order of references between sort by name and sort by timestamp.
579 .It Cm /
580 Prompt for a search pattern and start searching for matching references.
581 The search pattern is an extended regular expression which is matched
582 against absolute reference names.
583 Regular expression syntax is documented in
584 .Xr re_format 7 .
585 .It Cm n
586 Find the Nth next reference which matches the current search pattern
587 (default: 1).
588 .It Cm N
589 Find the Nth previous reference which matches the current search pattern
590 (default: 1).
591 .It Cm Ctrl+l
592 Reload the list of references displayed by the
593 .Cm ref
594 view.
595 .El
596 .Pp
597 The options for
598 .Cm tog ref
599 are as follows:
600 .Bl -tag -width Ds
601 .It Fl r Ar repository-path
602 Use the repository at the specified path.
603 If not specified, assume the repository is located at or above the current
604 working directory.
605 If this directory is a
606 .Xr got 1
607 work tree, use the repository path associated with this work tree.
608 .El
609 .El
610 .Sh ENVIRONMENT
611 .Bl -tag -width TOG_VIEW_SPLIT_MODE
612 .It Ev TOG_DIFF_ALGORITHM
613 Determines the default diff algorithm used by
614 .Nm .
615 Supported diff algorithms are Myers (quick and dirty) and
616 Patience (slow and tidy).
617 Valid values for
618 .Ev TOG_DIFF_ALGORITHM
619 are
620 .Dq patience
621 and
622 .Dq myers .
623 If unset, the Myers diff algorithm will be used by default.
624 .It Ev TOG_VIEW_SPLIT_MODE
625 Determines the default layout of split-screen views.
626 If set to
627 .Dq h
628 or
629 .Dq H ,
630 .Nm
631 will use horizontal split by default.
632 Otherwise, vertical split will be used.
633 The
634 .Cm S
635 key can be used to switch between vertical and horizontal split layout
636 at run-time.
637 .It Ev TOG_COLORS
638 .Nm
639 shows colorized output if this variable is set to a non-empty value.
640 The default color scheme can be modified by setting the environment
641 variables documented below.
642 The colors available in color schemes are
643 .Dq black ,
644 .Dq red ,
645 .Dq green ,
646 .Dq yellow ,
647 .Dq blue ,
648 .Dq magenta ,
649 .Dq cyan ,
650 and
651 .Dq default
652 which maps to the terminal's default foreground color.
653 .It Ev TOG_COLOR_DIFF_MINUS
654 The color used to mark up removed lines in diffs.
655 If not set, the default value
656 .Dq magenta
657 is used.
658 .It Ev TOG_COLOR_DIFF_PLUS
659 The color used to mark up added lines in diffs.
660 If not set, the default value
661 .Dq cyan
662 is used.
663 .It Ev TOG_COLOR_DIFF_CHUNK_HEADER
664 The color used to mark up chunk header lines in diffs.
665 If not set, the default value
666 .Dq yellow
667 is used.
668 .It Ev TOG_COLOR_DIFF_META
669 The color used to mark up meta data in diffs.
670 If not set, the default value
671 .Dq green
672 is used.
673 .It Ev TOG_COLOR_TREE_SUBMODULE
674 The color used to mark up submodule tree entries.
675 If not set, the default value
676 .Dq magenta
677 is used.
678 .It Ev TOG_COLOR_TREE_SYMLINK
679 The color used to mark up symbolic link tree entries.
680 If not set, the default value
681 .Dq magenta
682 is used.
683 .It Ev TOG_COLOR_TREE_DIRECTORY
684 The color used to mark up directory tree entries.
685 If not set, the default value
686 .Dq cyan
687 is used.
688 .It Ev TOG_COLOR_TREE_EXECUTABLE
689 The color used to mark up executable file tree entries.
690 If not set, the default value
691 .Dq green
692 is used.
693 .It Ev TOG_COLOR_COMMIT
694 The color used to mark up commit IDs.
695 If not set, the default value
696 .Dq green
697 is used.
698 .It Ev TOG_COLOR_AUTHOR
699 The color used to mark up author information.
700 If not set, the default value
701 .Dq cyan
702 is used.
703 .It Ev TOG_COLOR_DATE
704 The color used to mark up date information.
705 If not set, the default value
706 .Dq yellow
707 is used.
708 .It Ev TOG_COLOR_REFS_HEADS
709 The color used to mark up references in the
710 .Dq refs/heads/
711 namespace.
712 If not set, the default value
713 .Dq green
714 is used.
715 .It Ev TOG_COLOR_REFS_TAGS
716 The color used to mark up references in the
717 .Dq refs/tags/
718 namespace.
719 If not set, the default value
720 .Dq magenta
721 is used.
722 .It Ev TOG_COLOR_REFS_REMOTES
723 The color used to mark up references in the
724 .Dq refs/remotes/
725 namespace.
726 If not set, the default value
727 .Dq yellow
728 is used.
729 .It Ev TOG_COLOR_REFS_BACKUP
730 The color used to mark up references in the
731 .Dq refs/got/backup/
732 namespace.
733 If not set, the default value
734 .Dq cyan
735 is used.
736 .El
737 .Sh EXIT STATUS
738 .Ex -std tog
739 .Sh SEE ALSO
740 .Xr got 1 ,
741 .Xr git-repository 5 ,
742 .Xr re_format 7
743 .Sh AUTHORS
744 .An Christian Weisgerber Aq Mt naddy@openbsd.org
745 .An Josh Rickmar Aq Mt jrick@zettaport.com
746 .An Joshua Stein Aq Mt jcs@openbsd.org
747 .An Mark Jamsek Aq Mt mark@jamsek.dev
748 .An Martin Pieuchot Aq Mt mpi@openbsd.org
749 .An Omar Polo Aq Mt op@openbsd.org
750 .An Stefan Sperling Aq Mt stsp@openbsd.org
751 .An Klemens Nanni Aq Mt kn@openbsd.org