From d0c84cd02bc7c4915e17443621a60d08710d955c Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Tue, 21 Apr 2015 18:02:07 +1200
Subject: [PATCH] When syncing UI screenshots, add some git status and sleep
 for making help text a bit more safe

---
 .../CoreConsole/Commands/DevelopmentSyncUITestScreenshots.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/plugins/CoreConsole/Commands/DevelopmentSyncUITestScreenshots.php b/plugins/CoreConsole/Commands/DevelopmentSyncUITestScreenshots.php
index a8fa9a7a6c..7536884045 100644
--- a/plugins/CoreConsole/Commands/DevelopmentSyncUITestScreenshots.php
+++ b/plugins/CoreConsole/Commands/DevelopmentSyncUITestScreenshots.php
@@ -100,6 +100,8 @@ class DevelopmentSyncUITestScreenshots extends ConsoleCommand
 cd $downloadToPath
 git pull
 git add .
+git status
+sleep 5
 git commit -m '' # Write a good commit message, eg. 'Fixed UI test failure caused by change introduced in <core or plugin commit> which caused failure by <explanation of failure>'
 git push";
 
@@ -108,6 +110,8 @@ git push";
 cd ..
 git pull
 git add expected-ui-screenshots/
+git status
+sleep 5
 git commit -m '' # Copy paste the good commit message
 git push
 cd ../../\n\n";
-- 
GitLab