diff: make the context menu more intuitive
commit099130482c9189eb6270af8ffb7dc57503e34b1f
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Nov 2023 06:39:31 +0000 (9 22:39 -0800)
committerDavid Aguilar <davvid@gmail.com>
Fri, 10 Nov 2023 06:43:17 +0000 (9 22:43 -0800)
tree1f979ac62ced0a7d3b256573b9bc6ae4a3b8df24
parente1b594e1b99ffc1ee2f83b08aeb972d1d6ca32da
diff: make the context menu more intuitive

The Stage / Unstage actions should be listed after the actions that
operate on selected lines. This helps prevent users from losing the
index which they've carefully crafted.

The whole-file Stage / Unstage actions are now listed after the
line-oriented actions.

Closes: #1362
Reported-by: Stanislaw Halik <sthalik@misaki.pl>
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/widgets/diff.py