aboutsummaryrefslogtreecommitdiff
path: root/build2/version/snapshot.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/snapshot.cxx')
-rw-r--r--build2/version/snapshot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/version/snapshot.cxx b/build2/version/snapshot.cxx
index 143c200..ee7c2f3 100644
--- a/build2/version/snapshot.cxx
+++ b/build2/version/snapshot.cxx
@@ -24,7 +24,7 @@ namespace build2
// .git can be either a directory or a file in case of a submodule.
//
- if (build2::entry_exists (src_root / git, /* follow_symlinks */ true))
+ if (build2::entry_exists (src_root / git, true /* follow_symlinks */))
return extract_snapshot_git (src_root);
return snapshot ();