diff options
| author | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-01-21 23:56:39 -0500 |
|---|---|---|
| committer | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-01-21 23:56:39 -0500 |
| commit | 8926f839720471cc86fd4f7c6371d63b8f71b91d (patch) | |
| tree | c14523954085f7b6c428a488f81bfb645dcd2c83 /src/is_updated.cc | |
| parent | 8fc3b1f6cd1062e15c0aed60a110fb91143cd801 (diff) | |
initial commit
Diffstat (limited to 'src/is_updated.cc')
| -rw-r--r-- | src/is_updated.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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; +} |
