Skip to content

Commit

Permalink
Missed another hardcoded 100,000.
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed May 15, 2024
1 parent 78ba721 commit 6cd293b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/git-linguist
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def git_linguist(args)

opts.on("-f", "--force", "Force a full rescan") { incremental = false }
opts.on("-c", "--commit=COMMIT", "Commit to index") { |v| commit = v}
opts.on("-t", "--tree-size=NUMBER", Integer, "Maximum number of files scanned to detect languages (default: 100,000)" ) { |t| tree_size = t }
opts.on("-t", "--tree-size=NUMBER", Integer,
"Maximum number of files scanned to detect languages (default: #{Linguist::Repository::MAX_TREE_SIZE})" ) { |t| tree_size = t }
end

parser.parse!(args)
Expand Down

0 comments on commit 6cd293b

Please sign in to comment.