* @throws JGitFlowIOException
* @throws JGitFlowGitAPIException
*/
protected void requireCleanWorkingTree() throws DirtyWorkingTreeException, JGitFlowIOException, JGitFlowGitAPIException
{
CleanStatus cs = GitHelper.workingTreeIsClean(git,isAllowUntracked(),reporter);
if (cs.isNotClean())
{
reporter.errorText(getCommandName(),cs.getMessage());
reporter.flush();
throw new DirtyWorkingTreeException(cs.getMessage());
}
}