aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-04 22:20:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-04 22:20:56 +0300
commitac884344b24112b11cd6cad0a7cf41f036159a22 (patch)
tree85533c05f5a467f0054a34b971f5470cb1f97629
parentf07794a1f7f08ea5b5345da7c7c0847d1b0167f3 (diff)
Remove passing redundant optional argument to dir_exists()
-rw-r--r--libbpkg/manifest.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx
index 0fa2a4c..dc488de 100644
--- a/libbpkg/manifest.cxx
+++ b/libbpkg/manifest.cxx
@@ -2070,8 +2070,7 @@ namespace bpkg
case repository_protocol::file:
{
return local &&
- dir_exists (path_cast<dir_path> (*url.path) / dir_path (".git"),
- false)
+ dir_exists (path_cast<dir_path> (*url.path) / dir_path (".git"))
? repository_type::git
: repository_type::pkg;
}