dag: prefer the clicked commit when checking out branches
commitfeb7527328a7a21f2d0b688048308228de4a7786
authorDavid Aguilar <davvid@gmail.com>
Tue, 28 Feb 2023 06:15:16 +0000 (27 22:15 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 28 Feb 2023 07:01:44 +0000 (27 23:01 -0800)
tree37f32b860676d08e0ca78892015fd93c5793a8c7
parent9dfb7eb438801cb18b5ebbfc7915bcdbc68943a7
dag: prefer the clicked commit when checking out branches

Use the commit that was clicked when choosing the branch to checkout.

Related-to: #1113
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/dag.py