1 2 3 4 5 6
#include "cmd_out.cc" bool is_updated(std::string src) { if (cmd_out("git pull") == "Already up to date.") { return true; } return false; }