Can now use -g to set a goal.

This commit is contained in:
Zed A. Shaw 2025-04-24 13:00:40 -04:00
parent 3d4ddde96e
commit 210b0e4d21
7 changed files with 40 additions and 13 deletions

View file

@ -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;
}
}