commit 3bf00f2542ea6e7825f52c155e5f3f5fecb136e3 from: Stefan Sperling date: Mon Jan 02 12:29:57 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 - 2507ffb7f18f4e8d71f47efc0cc1e746177e9167 commit + 3bf00f2542ea6e7825f52c155e5f3f5fecb136e3 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 - 90aaa1e85a54a8310a42a9808b283bd3580d4bda blob + 2f1436265914a5af2afa20029647cb7236df2288 --- tog/tog.c +++ tog/tog.c @@ -3362,6 +3362,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) {