Commit Diff


commit - f76670f06a0f4f426ea232a2dd02899fe3698cf2
commit + 07a065feeb70f520295e3e449c377060733dd980
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 - d70c60a248637feaadbbdd019980f2db1e75a6e6
blob + 67c8c724634dc19b2e580668d89aaed73820aade
--- tog/tog.c
+++ tog/tog.c
@@ -6232,7 +6232,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 :