'Shows the diff for a specific file'

def compare(self, *args):

    tree_widget = self.diff_files
    item = tree_widget.currentItem()
    if (item and item.isSelected()):
        self.compare_file(item.path)
