Open annulen opened 4 years ago
Your analysis is correct, and now? Git GUI is not a show tool, its a commit factory tool. What does other GUIs (which are meant to factor a commit) do? Like git add --interactive
?
Well, git add -p
or git add -i
don't allow partially staging changes in the renamed file, but it seems to me like it's a deficiency in these tools, not a design choice.
Also, it seems like those tools do not support staging individual lines, which doesn't prevent Git GUI from supporting it.
In modern git versions when file was both renamed/moved and changed,
git diff
shows actual diff in content, whilegit gui
still displays old version of file as removed and new version as added.