aboutsummaryrefslogtreecommitdiff
path: root/bdep/project-email.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-14 19:28:54 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-14 19:28:54 +0300
commit8e5f53fd249f08b0be0a7d4eec65f425cfb79eae (patch)
tree247b5321b3fda46c390525fab1cc194e64c20ddb /bdep/project-email.cxx
parentfc9dbf81953ebe3b0757638671eb31787f4f387d (diff)
Adapt to git_version() returning semantic_version now
Diffstat (limited to 'bdep/project-email.cxx')
-rw-r--r--bdep/project-email.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/bdep/project-email.cxx b/bdep/project-email.cxx
index 9e8bbc9..fe43b18 100644
--- a/bdep/project-email.cxx
+++ b/bdep/project-email.cxx
@@ -11,8 +11,6 @@ using namespace butl;
namespace bdep
{
- static const standard_version git_ver ("2.1.0");
-
optional<string>
project_email (const dir_path& prj)
{
@@ -37,7 +35,7 @@ namespace bdep
// resolved value can be queried with the GIT_AUTHOR_IDENT logical
// variable.
//
- if (optional<string> l = git_line (git_ver,
+ if (optional<string> l = git_line (semantic_version {2, 1, 0},
prj,
true /* ignore_error */,
"var", "GIT_AUTHOR_IDENT"))