You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I moved a file into a different directory while at the same time changing some of its contents. I can only see that it was moved in the app:
The wrapping of the file names looks a bit scrunched in the blue area on the left, also. That may be related to #695.
Additionally, I had to do a manual git rm command on the old path in the terminal before I saw the rename displayed in the app. When I had just done the mv command, but not git mv, the new location showed up as a new file in the app while the old location showed up as a conflicted file, with the little ⚠️ icon to the right of the file name in the app.
Yup, the similarity index 100% diff means we don't have a diff to display:
$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
renamed: NEW-README.md -> README.md
$ git diff --staged
diff --git a/NEW-README.md b/README.md
similarity index 100%
rename from NEW-README.md
rename to README.md
The wrapping of the file names looks a bit scrunched in the blue area on the left, also. That may be related to #695.
Yeah that looks real bad. @shiftkey I thought you fixed this recently?
I'm thinking we should close this issue as it's expected behavior (although it could certainly use a sprinkle of UX) and open new ones for the truncation bug in the file list and for adding some ✨ to the display of renamed files with no changes. Thoughts?
Activity
shiftkey commentedon Mar 1, 2017
Yup, the
similarity index 100%diff means we don't have a diff to display:niik commentedon Mar 10, 2017
Yeah that looks real bad. @shiftkey I thought you fixed this recently?
I'm thinking we should close this issue as it's expected behavior (although it could certainly use a sprinkle of UX) and open new ones for the truncation bug in the file list and for adding some ✨ to the display of renamed files with no changes. Thoughts?
shiftkey commentedon Mar 12, 2017
Nah, our current diff parsing doesn't look at the diff similarity number - it only looks for the diff hunks and draws those.
👍 for introducing polish issues for the diff view. I'm working on the file path trunaction issue in #695 at the moment.
niik commentedon Mar 12, 2017
Sorry, I was beeing unclear here. I meant I thought I remember you fixing the path truncation issue.
Ah, this is what I was thinking of then
shiftkey commentedon Mar 13, 2017
@niik no problem. Let's leave this open to track the diff body polish then...