From: Daniel Arndt Date: Sun, 22 Jul 2018 16:35:17 +0000 (+0200) Subject: Ignore deleted files when formatting X-Git-Tag: v9.1.0-rc1~903^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6953%2Fhead;p=dealii.git Ignore deleted files when formatting --- diff --git a/contrib/utilities/indent_common.sh b/contrib/utilities/indent_common.sh index f8169780c8..6bbeb92115 100644 --- a/contrib/utilities/indent_common.sh +++ b/contrib/utilities/indent_common.sh @@ -247,7 +247,7 @@ process_changed() esac ( git ls-files --others --exclude-standard -- ${1}; - git diff --name-only $COMMON_ANCESTOR_WITH_MASTER -- ${1} )| + git diff --name-only --diff-filter=d $COMMON_ANCESTOR_WITH_MASTER -- ${1} )| sort -u | grep -E "^${2}$" | ${XARGS} '\n' -n 1 -P 10 -I {} bash -c "${3} {}"