public void run(IProgressMonitor pm) throws CoreException {
pm.beginTask("", 1); //$NON-NLS-1$
StashDropCommand command = Git.wrap(repo).stashDrop();
command.setStashRef(index);
try {
command.call();
repo.fireEvent(new RefsChangedEvent());
} catch (JGitInternalException e) {
throw new TeamException(e.getLocalizedMessage(),
e.getCause());
} catch (GitAPIException e) {