mirror of https://github.com/mpv-player/mpv
simpler and more easily expandable test whether we need a shortlist that
only contains .[ch] files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25310 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9495e9701b
commit
64d1a0d366
|
@ -179,11 +179,13 @@ fi
|
|||
|
||||
filelist=`all_filenames`
|
||||
|
||||
if [ "$_stupid" = "yes" -o "$_res" = "yes" -o "$_depr" = "yes" ] ; then
|
||||
case "$_stupid$_res$_depr" in
|
||||
*yes*)
|
||||
# generate 'shortlist' to avoid false positives in xpm files, docs, etc,
|
||||
# when one only needs to check .c and .h files
|
||||
chfilelist=`echo $filelist | tr ' ' '\n' | grep "[\.][ch]$"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$_showcont" = "yes" ]; then
|
||||
_diffopts="-u"
|
||||
|
|
Loading…
Reference in New Issue