From d35e0c341190557e119986810314897541cc8db0 Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Mon, 21 May 2018 16:33:58 +0100 Subject: [PATCH] Clarify movement message --- scripts/pretty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pretty b/scripts/pretty index c17676cd..3dd9fb10 100755 --- a/scripts/pretty +++ b/scripts/pretty @@ -13,7 +13,7 @@ if [ -n "$uglyFiles" ]; then git add "$file" else echo "WARN: Staged and working file differ: '$file'" - echo "WARN: Moving working file temporarily..." + echo "WARN: Moving working file temporarily (this might upset your editor)" # Get crazy: backup the working copy of the file, paste the staged version in its place, prettify, add, restore backup backup=$(mktemp -p . $file.XXXXXXXXX) mv "$file" "$backup"