Finally fix the problem
This commit was merged in pull request #3.
This commit is contained in:
@@ -55,8 +55,7 @@ check_for_updates() {
|
||||
local current_commit_hash
|
||||
|
||||
# Get the last known commit hash (from a file)
|
||||
cd "$GITMONITOR
|
||||
$GITMONITOR_LOCAL_PATH/$repo_name"
|
||||
cd "$GITMONITOR_LOCAL_PATH/$repo_name"
|
||||
if [ -f "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then
|
||||
last_commit_hash=$(cat "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user