commit 98182bd0510e52dd5b397e4d797a3f06b9a91a55 from: Stefan Sperling via: Thomas Adam date: Sat Nov 20 22:49:45 2021 UTC switch tog ref view's sort order command key to "o" instead of "s" The letter "o" does not overlap with existing options of 'got ref' and is also used by mutt(1) for this purpose. 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 :