mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unused code
This commit is contained in:
@@ -81,21 +81,4 @@ public class GitStashUtils {
|
||||
consumer.consume(new StashInfo(s.boundedToken(':'), s.boundedToken(':'), s.line().trim()));
|
||||
}
|
||||
}
|
||||
|
||||
// drops stash (after completing conflicting merge during unstashing), shows a warning in case of error
|
||||
public static void dropStash(Project project, VirtualFile root) {
|
||||
final GitSimpleHandler handler = new GitSimpleHandler(project, root, GitCommand.STASH);
|
||||
handler.setNoSSH(true);
|
||||
handler.addParameters("drop");
|
||||
String output = null;
|
||||
try {
|
||||
output = handler.run();
|
||||
} catch (VcsException e) {
|
||||
LOG.info("dropStash " + output, e);
|
||||
GitUIUtil.notifyMessage(project, "Couldn't drop stash",
|
||||
"Couldn't drop stash after resolving conflicts.<br/>Please drop stash manually.",
|
||||
WARNING, false, handler.errors());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user