@Override public VcsStatus getStatus(File targetDirectory) throws IOException { VcsStatus.Builder status = VcsStatus.builder(getRevision(targetDirectory)); status.withUncommittedChanges(hasChanges(targetDirectory)); status.withBranch(getBranch(targetDirectory)); return status.build(); }