From 513297ecb886cfd8aaf8d0c0b4b92e3bae556a31 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Wed, 29 Apr 2020 10:39:16 -0700 Subject: [PATCH] Add more debug --- build_tools/format-diff.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_tools/format-diff.sh b/build_tools/format-diff.sh index e8c2800f5..470bad94b 100755 --- a/build_tools/format-diff.sh +++ b/build_tools/format-diff.sh @@ -109,6 +109,11 @@ then # Use master branch from that remote [ "$FORMAT_UPSTREAM" ] || FORMAT_UPSTREAM="$FORMAT_REMOTE/master" echo FORMAT_UPSTREAM is $FORMAT_UPSTREAM + echo CLANG_FORMAT_DIFF is $CLANG_FORMAT_DIFF + if [ -f ./clang-format-diff.py] + then + echo found file + fi # Get the common ancestor with that remote branch. Everything after that # common ancestor would be considered the contents of a pull request, so # should be relevant for formatting fixes.