Commit Diff


commit - 2f6f8179787c5cb816adfb5ad3a975270a3ca4ad
commit + 98182bd0510e52dd5b397e4d797a3f06b9a91a55
blob - 838d2ac721da6d2d566440db6d4fe96c55d79cec
blob + aa7df3d3b754778dbe00fa95a687598e151f1566
--- tog/tog.1
+++ tog/tog.1
@@ -452,7 +452,7 @@ view showing the tree resolved via the currently selec
 Show object IDs for all non-symbolic references displayed in the
 .Cm ref
 view.
-.It Cm s
+.It Cm o
 Toggle display order of references between sort by name and sort by timestamp.
 .It Cm /
 Prompt for a search pattern and start searching for matching references.
blob - 189c8b310d86959f88116a40e56c42c974aaf9b5
blob + 2743aa216343e548ad430620dceec62a1b5caab6
--- tog/tog.c
+++ tog/tog.c
@@ -6242,7 +6242,7 @@ input_ref_view(struct tog_view **new_view, struct tog_
 	case 'i':
 		s->show_ids = !s->show_ids;
 		break;
-	case 's':
+	case 'o':
 		s->sort_by_date = !s->sort_by_date;
 		err = got_reflist_sort(&tog_refs, s->sort_by_date ?
 		    got_ref_cmp_by_commit_timestamp_descending :