'Return selected unstaged paths.'

def selected_unstaged_paths(self, selection=None):

    if (selection is None):
        selection = self.selected_paths()
    model = main.model()
    modified = utils.add_parents(model.modified)
    untracked = utils.add_parents(model.untracked)
    unstaged = modified.union(untracked)
    return [p for p in selection if (p in unstaged)]
