From d16ff7fa1273690e6292c4c792320306b9bcaa8a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 17 Jan 2021 17:19:14 -0500 Subject: [PATCH] fix: properly report last-updated --- plugins/git/internal-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/internal-functions b/plugins/git/internal-functions index bcdd6c551..73c3297ad 100755 --- a/plugins/git/internal-functions +++ b/plugins/git/internal-functions @@ -236,7 +236,7 @@ fn-git-last-updated-at() { declare desc="retrieve the deploy branch for a given application" declare APP="$1" local DOKKU_DEPLOY_BRANCH="$(fn-git-deploy-branch "$APP")" - local HEAD_FILE="/home/dokku/test/refs/heads/$DOKKU_DEPLOY_BRANCH" + local HEAD_FILE="/home/dokku/$APP/refs/heads/$DOKKU_DEPLOY_BRANCH" if [[ -f "$HEAD_FILE" ]]; then stat -c %Y "$HEAD_FILE"