Skip to content

Commit 24ef7da

Browse files
idodeclareVladimir Kotal
authored andcommitted
Use --pattern-length-limit=180 to reduce likelihood of re-read
1 parent 34ead44 commit 24ef7da

File tree

1 file changed

+1
-0
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/analysis

1 file changed

+1
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/Ctags.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ private void initialize() {
176176
command.add("--filter-terminator=" + CTAGS_FILTER_TERMINATOR + "\n");
177177
command.add("--fields=-af+iKnS");
178178
command.add("--excmd=pattern");
179+
command.add("--pattern-length-limit=180"); // Increase from default 96
179180

180181
//Ideally all below should be in ctags, or in outside config file,
181182
//we might run out of command line SOON

0 commit comments

Comments
 (0)