From 8083ff658434e12a07af34094426fa9a9a3f245b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 25 Mar 2021 20:38:38 -0400 Subject: [PATCH] feat: update error for git:from- commands when the artifact is already synced Closes #4520 --- plugins/git/git-from-directory | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/git/git-from-directory b/plugins/git/git-from-directory index 867b87c8c..b204c3526 100755 --- a/plugins/git/git-from-directory +++ b/plugins/git/git-from-directory @@ -42,7 +42,8 @@ trigger-git-git-from-directory() { suppress_output fn-git-cmd "$TMP_WORK_DIR" add --all suppress_output fn-git-cmd "$TMP_WORK_DIR" update-index --refresh if suppress_output fn-git-cmd "$TMP_WORK_DIR" diff-index --quiet HEAD --; then - dokku_log_warn "No changes detected, aborting git update" + dokku_log_warn "No changes detected, skipping git commit" + dokku_log_warn "Call 'ps:rebuild' on app to rebuild the app from existing source" return fi