feat: add a "Diff Mode" for diffing against arbitrary commits
commitffc4c5d4e872361003b0b8d55955c1356e6870ff
authorDavid Aguilar <davvid@gmail.com>
Mon, 13 Feb 2023 08:49:05 +0000 (13 00:49 -0800)
committerDavid Aguilar <davvid@gmail.com>
Mon, 13 Feb 2023 09:32:10 +0000 (13 01:32 -0800)
tree21d2c89eaabc05f7b17c8fcbcad9d50c0f76ba03
parent6e7966bb444966553fda7322aa50f1b01f93a72f
feat: add a "Diff Mode" for diffing against arbitrary commits

Make it possible to stage/unstage edits relative to arbitrary commits.
This allows us to unstage edits relative to an older commit so that we
can selectively pull changes back into the worktree.

Closes #552
Closes #816
Reported-by: @feinstaub via github.com
Reported-by: Suyandi @s101d1 via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/cmds.py
cola/guicmds.py
cola/icons.py
cola/models/main.py
cola/qtutils.py
cola/widgets/action.py
cola/widgets/main.py
cola/widgets/status.py
docs/git-cola.rst