summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAndrey Loskutov <loskutov@gmx.de>2014-08-11 09:28:52 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-10-27 19:26:42 +0100
commit2f5a08798eb29e8141c452c0dc2622bc8fe90dd0 (patch)
treec719668c07c7bb8740251789e0bac95ff8008fd9 /.gitignore
parent6eca51923f49026d6e91052bc959472732332560 (diff)
downloadjgit-2f5a08798eb29e8141c452c0dc2622bc8fe90dd0.tar.gz
jgit-2f5a08798eb29e8141c452c0dc2622bc8fe90dd0.zip
Reimplementation of ignore rule parser
The current IgnoreRule/FileNameMatcher implementation scales not well with huge repositories - it is both slow and memory expensive while parsing glob expressions (bug 440732). Addtitionally, the "double star" pattern (/**/) is not understood by the old parser (bug 416348). The proposed implementation is a complete clean room rewrite of the gitignore parser, aiming to add missing double star pattern support and improve the performance and memory consumption. The glob expressions from .gitignore rules are converted to Java regular expressions (java.util.regex.Pattern). java.util.regex.Pattern code can evaluate expression from gitignore rules considerable faster (and with less memory consumption) as the old FileNameMatcher implementation. CQ: 8828 Bug: 416348 Bug: 440732 Change-Id: Ibefb930381f2f16eddb9947e592752f8ae2b76e1 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions