kblincoe / VisualGit_SE701_2019_4

1 stars 0 forks source link

Inconsistent file-panel behaviour #232

Open smor264 opened 5 years ago

smor264 commented 5 years ago

BUG: File color showing incorrectly when a file is deleted/restored while repo is open. The file panel is not updating the file colors after the repo has been opened.

Steps to reproduce: Currently if you delete a file with the repo open in visual git the color of the file in the file panel is orange with the diff view showing all lines being deleted (Picture 1). If you then reopen the repo the file color is now red (Picture 2). If the file is restored the file color stays red with the diff panel showing changes have been made (Picture 3).

Picture 1 IssueFileDeleted

Picture 2 IssueReopenRepo

Picture 3 IssueRestoredFile

Expected behavior: When the file is deleted/restored the file color should update without the user having to reopen the repo.

User impact: This bug could mislead the user into thinking a empty file is still there, where it has actually been deleted.