Skip to content

Commit e13ade4

Browse files
authored
пропускать файлы с .git внутри имени
1 parent 5536dac commit e13ade4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wa-system/webasyst/lib/cli/webasystCompress.cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ private function filter(&$files, $blacklist = array(), $whitelist = array())
14831483
'@\.(bak|old|user|te?mp|www)(\.(php|css|js|html))?$@' => 'temp file',
14841484
'@(locale)\/.+\.(te?mp)(\.(po|mo))?$@' => 'temp files in the locale directory',
14851485
'@(/|^)(\.DS_Store|\.desktop\.ini|thumbs\.db)$@' => 'system file',
1486-
'@\b\.(svn|git|hg_archival\.txt)\b@' => 'CVS file',
1486+
'@\b\.(svn|hg_archival\.txt)\b@' => 'CVS file',
14871487
'@(/|^)\.git.*@' => 'GIT file',
14881488
'@(/|^)\.[^/]+/@' => 'directory with leading dot',
14891489
'@(/|^)\.(project|buildpath)@' => 'IDE file',

0 commit comments

Comments
 (0)