- 
    
Bug
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    Qt Creator 4.1.0-rc1
 - 
    Ubuntu 14.04 LTS 64 bit
 
- Open a file from a git repository.
 - Change and save that file.
 - Change the file again but do not save it again.
 - Select "Tools" -> "Git" -> "Current File" -> "Undo Uncommitted Changes for <filename>" from the menu.
Creator complains that the file contains unsaved changes. - Click "Do not Save".
Creator asks you whether you'd like to revert the changes in the file. - Click "Yes".
Creator asks whether you'd like to reload the file and discard your changes. - Click "Yes".
Finally after three confirmations, you could reset the changes in the file. 
Creator should ask for confirmation only once.