How can we improve Azure DevOps?

Git in VSTS: Rename in an update of a file added in a pull request not properly visualized

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/366462/git-in-vsts-rename-in-an-update-of-a-file-added-in.html

If you have an existing file in the repository, then modify, commit and create a pull request, the first update shows up as just a diff of what's changed. If you then make modify, rename and commit, your Update 2 will also show up as a diff along with noting the rename.

However, if you create a new file and commit your first update shows each line of a file as being added (also correct), but if then you modify, rename and commit, your Update 2 shows up as each line of the file being added (not correct) and does NOT show the diffs between Update 1 and and Update 2 as being a rename and modification.

This makes it extremely difficult to review Update 2 in the second scenario. It would be much better to have scenario 2 (rename in an update of a file added in a PR) behave the same as scenario 1 (rename in an update of a file existing prior to the PR)

2 votes
Sign in
(thinking…)
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

Keenan Forbes shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base