Skip to content

Commit

Permalink
changed version output slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
cdehnert committed Mar 11, 2017
1 parent 98d9562 commit 97b33cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/storm/utility/storm-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace storm {
/// How many commits passed since the tag was last set.
const static unsigned commitsAhead;

/// 0 iff there no files were modified in the checkout, 1 otherwise.
/// 0 iff there no files were modified in the checkout, 1 otherwise. If none, no information about dirtyness is given.
const static boost::optional<bool> dirty;

/// The system which has compiled Storm.
Expand Down Expand Up @@ -53,6 +53,8 @@ namespace storm {
}
if (!gitRevisionHash.empty()) {
sstream << " build from revision " << gitRevisionHash;
} else {
sstream << " built from archive";
}
if (dirty) {
if (dirty.get()) {
Expand Down

0 comments on commit 97b33cf

Please sign in to comment.