0
Completed

Unstage hunks/lines

IanJ 5 years ago updated 5 years ago 4

It appears that only whole files can be unstaged.  Would be preferable to have an option to unstage individual lines/hunks, just like we can stage individual lines/hunks.

GOOD, I'M SATISFIED
Satisfaction mark by IanJ 5 years ago
Completed

This can be done if you are showing the full file contents in the Changes view, not just the compact diff.

I believe I am looking at "full file contents".  I can scroll through the full file.  But I see no option to revert.  The popup menu, where I expected "revert hunk" may lie, shows nothing like this.  Could you elaborate?

Please contact smartgit@syntevo.com with a screenshot of the window.

Now that you've helpfully explained where I can actually see the whole set of staged items, I found that the LEFT view in the diff view, in this mode, does have "Unstage hunk" on the menu.   That's a little weird, but also logical I guess.  All good.  There's all the features I expect, just seemingly well hidden away.