diff --git a/rtmc.lua b/rtmc.lua index 26ba063..2950a26 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -400,6 +400,10 @@ rawset(__BUNDLER_FILES, "updater", function () log.debug("Commit hash doesnt match, probbably an update"); return true; end + if data[1].hash == self.curr_commit_hash then + log.debug("Commit hash matches"); + log.debug(data[1].hash .. " (old) => (new) " .. self.curr_commit_hash); + end return false; end function updater:update(path, url) diff --git a/src/updater.lua b/src/updater.lua index a283a07..dbd3edc 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -82,6 +82,12 @@ function updater:check(branch) log.debug("Commit hash doesnt match, probbably an update"); return true; end + + if data[1].hash == self.curr_commit_hash then + log.debug("Commit hash matches"); + log.debug(data[1].hash .. " (old) => (new) " .. self.curr_commit_hash); + end + return false; end