diff options
Diffstat (limited to 'build2/version')
-rw-r--r-- | build2/version/snapshot-git.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/version/snapshot-git.cxx b/build2/version/snapshot-git.cxx index 278c5ce..3f19e62 100644 --- a/build2/version/snapshot-git.cxx +++ b/build2/version/snapshot-git.cxx @@ -31,9 +31,10 @@ namespace build2 // { const char* args[] {"git", "-C", d, "status", "--porcelain", nullptr}; - r.committed = run<string> (3 /* verbosity */, - args, - [](string& s) {return move (s);}).empty (); + r.committed = run<string> ( + 3 /* verbosity */, + args, + [](string& s, bool) {return move (s);}).empty (); } // Now extract the commit id and date. One might think that would be |