fix(detect-newly-added-files.sh):file diff with regard to integration

This patch compares and filters the newly added tf-a source files
between the integration branch and the change set under review instead
of the master. It will resolve in sending correct status to the tf-daily
job and will further allow the master and integration to sync up.

Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Change-Id: I94932aa50243bf5d0f4caa45ca546fed62730ce8
diff --git a/script/static-checks/static-checks-detect-newly-added-files.sh b/script/static-checks/static-checks-detect-newly-added-files.sh
index c7907a6..40607ad 100755
--- a/script/static-checks/static-checks-detect-newly-added-files.sh
+++ b/script/static-checks/static-checks-detect-newly-added-files.sh
@@ -34,10 +34,10 @@
   done < "$TFA_PATCH_NEWFILES_LIST"
 
   echo
-  echo -e "1. Kindly ensure they are updated in the \"tf_cov_make\" build script as \n \
+  echo -e "1. Kindly ensure they are updated in the \"tf-cov-make\" build script as \n \
 well to consider them for Coverity Scan analysis."
   echo >> "$LOG_FILE"
-  echo -e "1. Kindly ensure they are updated in the \"tf_cov_make\" build script as \n \
+  echo -e "1. Kindly ensure they are updated in the \"tf-cov-make\" build script as \n \
 well to consider them for Coverity Scan analysis." >> "$LOG_FILE"
 
   echo
@@ -51,11 +51,11 @@
   EXIT_VALUE=1
 }
 
-# Detecting source files not analysed by tf-coverity-job in the latest patch
+# Detecting source files not analysed by tf-coverity-job in the latest patch.
   echo "# Check to detect whether newly added files are analysed by Coverity in the patch"
   TEST_CASE="Newly added files detection check for Coverity Scan analysis on patch(es)"
 # Extracting newly added source files added between commits.
-  git diff origin/master...HEAD --name-only --diff-filter=A "*.c" &> "$TFA_PATCH_NEWFILES_LIST"
+  git diff origin/integration...HEAD --name-only --diff-filter=A "*.c" &> "$TFA_PATCH_NEWFILES_LIST"
   if [ -s "$TFA_PATCH_NEWFILES_LIST" ]
   then
     file_updation_report