mirror of https://github.com/apache/lucene.git
add more extensions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86267b5044
commit
9b53565331
|
@ -50,7 +50,7 @@ while True:
|
||||||
elif l.endswith('\n'):
|
elif l.endswith('\n'):
|
||||||
l = l[:-1]
|
l = l[:-1]
|
||||||
if l.startswith('diff ') or l.startswith('Binary files '):
|
if l.startswith('diff ') or l.startswith('Binary files '):
|
||||||
keep = not l.endswith('timehints.txt') and l.lower().find('/build/') == -1 and (l.lower().startswith('Only in') or ((l.lower().endswith('.java') or l.lower().endswith('.txt') or l.lower().endswith('.xml') or l.lower().endswith('.iml') or l.lower().endswith('.html') or l.lower().endswith('.template') or l.lower().endswith('.py')) and l.find('/.svn/') == -1))
|
keep = not l.endswith('timehints.txt') and l.lower().find('/build/') == -1 and (l.lower().startswith('Only in') or ((l.lower().endswith('.java') or l.lower().endswith('.txt') or l.lower().endswith('.xml') or l.lower().endswith('.iml') or l.lower().endswith('.html') or l.lower().endswith('.template') or l.lower().endswith('.py') or l.lower().endswith('.g') or l.lower().endswith('.properties')) and l.find('/.svn/') == -1))
|
||||||
if keep:
|
if keep:
|
||||||
print
|
print
|
||||||
print
|
print
|
||||||
|
|
Loading…
Reference in New Issue