prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
161 stars 87 forks source link

Show informative diff for renamed files #33

Open annulen opened 4 years ago

annulen commented 4 years ago

In modern git versions when file was both renamed/moved and changed, git diff shows actual diff in content, while git gui still displays old version of file as removed and new version as added.

bertwesarg commented 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?

annulen commented 4 years ago

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.