[TASK] Bamboo: use udiff format for php-cs-fixer diff option 82/55082/2
authorNicole Cordes <typo3@cordes.co>
Thu, 14 Dec 2017 17:21:49 +0000 (18:21 +0100)
committerNicole Cordes <typo3@cordes.co>
Thu, 14 Dec 2017 18:53:31 +0000 (19:53 +0100)
The option produces nice compact output instead of printing whole file.

Resolves: #83335
Releases: master, 8.7
Change-Id: I3b5fb0ab004c653751c4bc3e7f8e1079fcc66235
Reviewed-on: https://review.typo3.org/55082
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Build/Scripts/cglFixMyCommit.sh

index 86afea6..ce7172d 100755 (executable)
@@ -24,7 +24,7 @@ DRYRUN=""
 
 if [ "$1" = "dryrun" ]
 then
-    DRYRUN="--dry-run --diff"
+    DRYRUN="--dry-run --diff --diff-format udiff"
 fi
 
 DETECTED_FILES=`git diff-tree --no-commit-id --name-only -r HEAD | grep '.php$' 2>/dev/null`