Can now use -g to set a goal.
This commit is contained in:
parent
3d4ddde96e
commit
210b0e4d21
7 changed files with 40 additions and 13 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <filesystem>
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <fmt/core.h>
|
||||
|
||||
using std::string;
|
||||
namespace fs = std::filesystem;
|
||||
|
@ -29,6 +30,7 @@ void UpdateListener::handleFileAction(efsw::WatchID watchid,
|
|||
assert(rc == 0 && "libgit2 says it can't check the ignored file");
|
||||
|
||||
if(!ignored) {
|
||||
fmt::println("~~~ CHANGED: {}", the_path.string());
|
||||
changes = changes || !ignored;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue