From 8926f839720471cc86fd4f7c6371d63b8f71b91d Mon Sep 17 00:00:00 2001 From: dacctal <120422854+dacctal@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:56:39 -0500 Subject: initial commit --- src/is_updated.cc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/is_updated.cc (limited to 'src/is_updated.cc') diff --git a/src/is_updated.cc b/src/is_updated.cc new file mode 100644 index 0000000..96c7fe6 --- /dev/null +++ b/src/is_updated.cc @@ -0,0 +1,6 @@ +#include "cmd_out.cc" + +bool is_updated(std::string src) { + if (cmd_out("git pull") == "Already up to date.") { return true; } + return false; +} -- cgit v1.2.3