fetchGit: Return revCount for dirty working trees

This commit is contained in:
Eelco Dolstra
2019-04-19 14:15:51 +02:00
parent 0cbda84f5b
commit bc259192b4
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ struct GitInfo
Path storePath;
std::string ref;
Hash rev{htSHA1};
std::optional<uint64_t> revCount;
uint64_t revCount;
};
GitInfo exportGit(ref<Store> store, std::string uri,