From 4b820457defe1511208b6caa8b9feb9603ffc8be Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 6 Jul 2021 11:50:09 +0200 Subject: [PATCH] Output diff before committing changes See https://git.autonomic.zone/coop-cloud/abra/issues/174. --- abra | 1 + 1 file changed, 1 insertion(+) diff --git a/abra b/abra index 2b34467..ab5d0bc 100755 --- a/abra +++ b/abra @@ -2286,6 +2286,7 @@ sub_recipe_release() { success "All compose files updated; new version is $new_version" if [ "$abra___no_prompt" = "false" ] && [ "$bump" = "false" ]; then + git --no-pager diff read -rp "Commit your changes to git? [y/N]? " choice if [ "${choice,,}" != "y" ]; then