try {
StashCreateCommand command = Git.wrap(repository).stashCreate();
if (message != null)
command.setWorkingDirectoryMessage(message);
command.setIncludeUntracked(includeUntracked);
commit = command.call();
} catch (JGitInternalException e) {
throw new TeamException(e.getLocalizedMessage(),
e.getCause());
} catch (GitAPIException e) {
throw new TeamException(e.getLocalizedMessage(),