aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchGit.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops/fetchGit.hh')
-rw-r--r--src/libexpr/primops/fetchGit.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchGit.hh b/src/libexpr/primops/fetchGit.hh
index d7a0e165a..60c439426 100644
--- a/src/libexpr/primops/fetchGit.hh
+++ b/src/libexpr/primops/fetchGit.hh
@@ -11,7 +11,7 @@ struct GitInfo
Path storePath;
std::string rev;
std::string shortRev;
- uint64_t revCount = 0;
+ std::optional<uint64_t> revCount;
};
GitInfo exportGit(ref<Store> store, const std::string & uri,