commit 8eca0bdb19386799f23e248e19627d62eeb65c50 from: Stefan Sperling via: Thomas Adam date: Mon Jan 02 15:03:00 2023 UTC make 'tog log' display the committer handle by default, '@' switches to author People coming from CVS might not expect names of patch contributers to show up in commit history listings, so make things easy for them. discussed with op@ commit - 0cbf8de725393d7866ab0e146671a1611644afc6 commit + 8eca0bdb19386799f23e248e19627d62eeb65c50 blob - 5cd04f84a4375fd57061db8ea8ed4030f0350461 blob + 03eeb1401485cf8cdcd6d8b24b43fdf4f2e44907 --- tog/tog.1 +++ tog/tog.1 @@ -249,7 +249,7 @@ This can then be used to open a new .Cm log view for arbitrary branches and tags. .It Cm @ -Toggle between showing the author and the committer name. +Toggle between showing the committer name and the author name. .El .Pp The options for blob - ae0037af0f36e0b463da66b4052f44e41c0c507e blob + b46749f94d439031095ef1fea0d6e7611cdd46f2 --- tog/tog.c +++ tog/tog.c @@ -3367,6 +3367,7 @@ open_log_view(struct tog_view *view, struct got_object goto done; } s->log_branches = log_branches; + s->use_committer = 1; STAILQ_INIT(&s->colors); if (has_colors() && getenv("TOG_COLORS") != NULL) {