Web IDE: Discarding changes on re-named entries
Summary
This is a follow up on https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/16539
Referenced Issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/31058
When discarding changes for a renamed file, the file should be reset to the previous state.
Edited by Denys Mishunov