aboutsummaryrefslogtreecommitdiff
path: root/bdep/project-email.cxx
diff options
context:
space:
mode:
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"))