github-linguist 7.28.0 → 7.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +7 -3
  3. data/bin/github-linguist +6 -3
  4. data/grammars/etc.json +1 -1
  5. data/grammars/inline.graphql.json +1 -1
  6. data/grammars/inline.graphql.markdown.codeblock.json +1 -0
  7. data/grammars/inline.hbs.json +1 -1
  8. data/grammars/markdown.commonlisp.codeblock.json +1 -0
  9. data/grammars/markdown.gleam.codeblock.json +1 -0
  10. data/grammars/markdown.glimmer.codeblock.json +1 -0
  11. data/grammars/markdown.move.codeblock.json +1 -1
  12. data/grammars/markdown.rego.codeblock.json +1 -0
  13. data/grammars/source.8xp.json +1 -0
  14. data/grammars/source.Caddyfile-test.json +1 -0
  15. data/grammars/source.Caddyfile.json +1 -0
  16. data/grammars/source.abl.json +1 -1
  17. data/grammars/source.amxxpawn.json +1 -0
  18. data/grammars/source.astro.json +1 -1
  19. data/grammars/source.bb.json +1 -0
  20. data/grammars/source.bh.json +1 -0
  21. data/grammars/source.bicep.json +1 -1
  22. data/grammars/source.bms.json +1 -1
  23. data/grammars/source.bqn.json +1 -0
  24. data/grammars/source.brs.json +1 -1
  25. data/grammars/source.clarion.json +1 -1
  26. data/grammars/source.cobol.json +1 -1
  27. data/grammars/source.commonlisp.json +1 -0
  28. data/grammars/source.cs.json +1 -1
  29. data/grammars/source.csound.json +1 -1
  30. data/grammars/source.d2.json +1 -1
  31. data/grammars/source.dart.json +1 -1
  32. data/grammars/source.did.json +1 -1
  33. data/grammars/source.elvish-transcript.json +1 -1
  34. data/grammars/source.firrtl.json +1 -0
  35. data/grammars/source.fsharp.json +1 -1
  36. data/grammars/source.gdscript.json +1 -1
  37. data/grammars/source.generic-db.json +1 -1
  38. data/grammars/source.gjs.json +1 -1
  39. data/grammars/source.gleam.json +1 -1
  40. data/grammars/source.gts.json +1 -1
  41. data/grammars/source.hcl.json +1 -1
  42. data/grammars/source.hcl.terraform.json +1 -1
  43. data/grammars/source.hx.json +1 -1
  44. data/grammars/source.ice.json +1 -1
  45. data/grammars/source.julia.json +1 -1
  46. data/grammars/source.kotlin.json +1 -1
  47. data/grammars/source.lean4.json +1 -1
  48. data/grammars/source.lua.json +1 -1
  49. data/grammars/source.luau.json +1 -0
  50. data/grammars/source.m2.json +1 -1
  51. data/grammars/source.markdown.caddy.codeblock.json +1 -0
  52. data/grammars/source.matlab.json +1 -1
  53. data/grammars/source.mdx.json +1 -1
  54. data/grammars/source.mojo.json +1 -0
  55. data/grammars/source.move.json +1 -1
  56. data/grammars/source.nasal.json +1 -1
  57. data/grammars/source.nim.json +1 -1
  58. data/grammars/source.nushell.json +1 -1
  59. data/grammars/source.odin.json +1 -1
  60. data/grammars/source.p4.json +1 -1
  61. data/grammars/source.pip-requirements.json +1 -0
  62. data/grammars/source.pkl.json +1 -0
  63. data/grammars/source.praat.json +1 -1
  64. data/grammars/source.rego.json +1 -1
  65. data/grammars/source.rescript.json +1 -1
  66. data/grammars/source.roc.json +1 -0
  67. data/grammars/source.ron.json +1 -0
  68. data/grammars/source.rust.json +1 -1
  69. data/grammars/source.scala.json +1 -1
  70. data/grammars/source.slice.json +1 -1
  71. data/grammars/source.slint.json +1 -0
  72. data/grammars/source.solidity.json +1 -1
  73. data/grammars/source.sourcepawn.json +1 -1
  74. data/grammars/source.sqf.json +1 -1
  75. data/grammars/source.swift.json +1 -1
  76. data/grammars/source.templ.json +1 -0
  77. data/grammars/source.toit.json +1 -1
  78. data/grammars/source.ts.json +1 -1
  79. data/grammars/source.tsx.json +1 -1
  80. data/grammars/source.vba.json +1 -1
  81. data/grammars/source.wsd.json +1 -1
  82. data/grammars/sp-jsdoc.injection.json +1 -0
  83. data/grammars/text.adblock.json +1 -1
  84. data/grammars/text.crontab.json +1 -0
  85. data/grammars/text.html.edge.json +1 -0
  86. data/grammars/text.html.ember-handlebars.json +1 -1
  87. data/grammars/text.html.statamic.json +1 -1
  88. data/grammars/text.md.json +1 -1
  89. data/grammars/text.srt.json +1 -1
  90. data/grammars/text.valve-cfg.json +1 -0
  91. data/grammars/text.valve-kv.json +1 -0
  92. data/grammars/version +1 -1
  93. data/lib/linguist/VERSION +1 -1
  94. data/lib/linguist/generated.rb +39 -1
  95. data/lib/linguist/heuristics.yml +26 -2
  96. data/lib/linguist/languages.json +1 -1
  97. data/lib/linguist/languages.yml +195 -9
  98. data/lib/linguist/repository.rb +8 -6
  99. data/lib/linguist/samples.json +1 -1
  100. metadata +31 -5
  101. data/grammars/markdown.graphql.codeblock.json +0 -1
  102. data/grammars/source.terraform.json +0 -1
@@ -506,6 +506,14 @@ BASIC:
506
506
  ace_mode: text
507
507
  color: "#ff0000"
508
508
  language_id: 28923963
509
+ BQN:
510
+ type: programming
511
+ color: "#2b7067"
512
+ extensions:
513
+ - ".bqn"
514
+ tm_scope: source.bqn
515
+ ace_mode: text
516
+ language_id: 330386870
509
517
  Ballerina:
510
518
  type: programming
511
519
  extensions:
@@ -573,6 +581,7 @@ Bicep:
573
581
  color: "#519aba"
574
582
  extensions:
575
583
  - ".bicep"
584
+ - ".bicepparam"
576
585
  tm_scope: source.bicep
577
586
  ace_mode: text
578
587
  language_id: 321200902
@@ -598,9 +607,12 @@ Bison:
598
607
  BitBake:
599
608
  type: programming
600
609
  color: "#00bce4"
601
- tm_scope: none
610
+ tm_scope: source.bb
602
611
  extensions:
603
612
  - ".bb"
613
+ - ".bbappend"
614
+ - ".bbclass"
615
+ - ".inc"
604
616
  ace_mode: text
605
617
  language_id: 32
606
618
  Blade:
@@ -658,7 +670,7 @@ Bluespec BH:
658
670
  aliases:
659
671
  - bh
660
672
  - bluespec classic
661
- tm_scope: source.haskell
673
+ tm_scope: source.bh
662
674
  ace_mode: haskell
663
675
  codemirror_mode: haskell
664
676
  codemirror_mime_type: text/x-haskell
@@ -746,6 +758,7 @@ C#:
746
758
  extensions:
747
759
  - ".cs"
748
760
  - ".cake"
761
+ - ".cs.pp"
749
762
  - ".csx"
750
763
  - ".linq"
751
764
  language_id: 42
@@ -926,6 +939,18 @@ Cabal Config:
926
939
  codemirror_mime_type: text/x-haskell
927
940
  tm_scope: source.cabal
928
941
  language_id: 677095381
942
+ Caddyfile:
943
+ type: data
944
+ color: "#22b638"
945
+ aliases:
946
+ - Caddy
947
+ extensions:
948
+ - ".caddyfile"
949
+ filenames:
950
+ - Caddyfile
951
+ ace_mode: text
952
+ tm_scope: source.Caddyfile
953
+ language_id: 615465151
929
954
  Cadence:
930
955
  type: programming
931
956
  color: "#00ef8b"
@@ -1211,7 +1236,7 @@ ColdFusion CFC:
1211
1236
  language_id: 65
1212
1237
  Common Lisp:
1213
1238
  type: programming
1214
- tm_scope: source.lisp
1239
+ tm_scope: source.commonlisp
1215
1240
  color: "#3fb68b"
1216
1241
  aliases:
1217
1242
  - lisp
@@ -1594,6 +1619,7 @@ Dotenv:
1594
1619
  - ".env.local"
1595
1620
  - ".env.prod"
1596
1621
  - ".env.production"
1622
+ - ".env.sample"
1597
1623
  - ".env.staging"
1598
1624
  - ".env.test"
1599
1625
  - ".env.testing"
@@ -1743,6 +1769,14 @@ Ecmarkup:
1743
1769
  aliases:
1744
1770
  - ecmarkdown
1745
1771
  language_id: 844766630
1772
+ Edge:
1773
+ type: markup
1774
+ color: "#0dffe0"
1775
+ extensions:
1776
+ - ".edge"
1777
+ tm_scope: text.html.edge
1778
+ ace_mode: html
1779
+ language_id: 460509620
1746
1780
  EdgeQL:
1747
1781
  type: programming
1748
1782
  color: "#31A7FF"
@@ -1937,6 +1971,14 @@ FIGlet Font:
1937
1971
  tm_scope: source.figfont
1938
1972
  ace_mode: text
1939
1973
  language_id: 686129783
1974
+ FIRRTL:
1975
+ type: programming
1976
+ color: "#2f632f"
1977
+ extensions:
1978
+ - ".fir"
1979
+ tm_scope: source.firrtl
1980
+ ace_mode: text
1981
+ language_id: 906694254
1940
1982
  FLUX:
1941
1983
  type: programming
1942
1984
  color: "#88ccff"
@@ -2435,6 +2477,15 @@ Glimmer JS:
2435
2477
  tm_scope: source.gjs
2436
2478
  group: JavaScript
2437
2479
  language_id: 5523150
2480
+ Glimmer TS:
2481
+ type: programming
2482
+ extensions:
2483
+ - ".gts"
2484
+ ace_mode: typescript
2485
+ color: "#3178c6"
2486
+ tm_scope: source.gts
2487
+ group: TypeScript
2488
+ language_id: 95110458
2438
2489
  Glyph:
2439
2490
  type: programming
2440
2491
  color: "#c1ac7f"
@@ -2666,7 +2717,7 @@ HCL:
2666
2717
  ace_mode: ruby
2667
2718
  codemirror_mode: ruby
2668
2719
  codemirror_mime_type: text/x-ruby
2669
- tm_scope: source.terraform
2720
+ tm_scope: source.hcl
2670
2721
  language_id: 144
2671
2722
  HLSL:
2672
2723
  type: programming
@@ -3155,6 +3206,7 @@ JSON:
3155
3206
  aliases:
3156
3207
  - geojson
3157
3208
  - jsonl
3209
+ - sarif
3158
3210
  - topojson
3159
3211
  extensions:
3160
3212
  - ".json"
@@ -3168,6 +3220,7 @@ JSON:
3168
3220
  - ".JSON-tmLanguage"
3169
3221
  - ".jsonl"
3170
3222
  - ".mcmeta"
3223
+ - ".sarif"
3171
3224
  - ".tfstate"
3172
3225
  - ".tfstate.backup"
3173
3226
  - ".topojson"
@@ -3186,6 +3239,7 @@ JSON:
3186
3239
  - ".tern-config"
3187
3240
  - ".tern-project"
3188
3241
  - ".watchmanconfig"
3242
+ - MODULE.bazel.lock
3189
3243
  - Pipfile.lock
3190
3244
  - composer.lock
3191
3245
  - deno.lock
@@ -3207,6 +3261,7 @@ JSON with Comments:
3207
3261
  - ".code-snippets"
3208
3262
  - ".code-workspace"
3209
3263
  - ".sublime-build"
3264
+ - ".sublime-color-scheme"
3210
3265
  - ".sublime-commands"
3211
3266
  - ".sublime-completions"
3212
3267
  - ".sublime-keymap"
@@ -3472,6 +3527,13 @@ Julia:
3472
3527
  codemirror_mode: julia
3473
3528
  codemirror_mime_type: text/x-julia
3474
3529
  language_id: 184
3530
+ Julia REPL:
3531
+ type: programming
3532
+ color: "#a270ba"
3533
+ tm_scope: source.julia.console
3534
+ group: Julia
3535
+ ace_mode: text
3536
+ language_id: 220689142
3475
3537
  Jupyter Notebook:
3476
3538
  type: markup
3477
3539
  ace_mode: json
@@ -3493,9 +3555,14 @@ Just:
3493
3555
  color: "#384d54"
3494
3556
  tm_scope: source.just
3495
3557
  filenames:
3558
+ - ".JUSTFILE"
3559
+ - ".Justfile"
3560
+ - ".justfile"
3496
3561
  - JUSTFILE
3497
3562
  - Justfile
3498
3563
  - justfile
3564
+ extensions:
3565
+ - ".just"
3499
3566
  ace_mode: text
3500
3567
  language_id: 128447695
3501
3568
  KRL:
@@ -3906,6 +3973,18 @@ Lua:
3906
3973
  interpreters:
3907
3974
  - lua
3908
3975
  language_id: 213
3976
+ Luau:
3977
+ type: programming
3978
+ tm_scope: source.luau
3979
+ ace_mode: lua
3980
+ codemirror_mode: lua
3981
+ codemirror_mime_type: text/x-lua
3982
+ color: "#00A2FF"
3983
+ extensions:
3984
+ - ".luau"
3985
+ interpreters:
3986
+ - luau
3987
+ language_id: 365050359
3909
3988
  M:
3910
3989
  type: programming
3911
3990
  aliases:
@@ -4304,6 +4383,16 @@ Module Management System:
4304
4383
  tm_scope: none
4305
4384
  ace_mode: text
4306
4385
  language_id: 235
4386
+ Mojo:
4387
+ type: programming
4388
+ color: "#ff4c1f"
4389
+ extensions:
4390
+ - ".mojo"
4391
+ ace_mode: python
4392
+ codemirror_mode: python
4393
+ codemirror_mime_type: text/x-python
4394
+ tm_scope: source.mojo
4395
+ language_id: 1045019587
4307
4396
  Monkey:
4308
4397
  type: programming
4309
4398
  extensions:
@@ -4431,6 +4520,14 @@ NL:
4431
4520
  tm_scope: none
4432
4521
  ace_mode: text
4433
4522
  language_id: 241
4523
+ NMODL:
4524
+ type: programming
4525
+ color: "#00356B"
4526
+ extensions:
4527
+ - ".mod"
4528
+ tm_scope: none
4529
+ ace_mode: text
4530
+ language_id: 136456478
4434
4531
  NPM Config:
4435
4532
  type: data
4436
4533
  color: "#cb3837"
@@ -4716,6 +4813,13 @@ OCaml:
4716
4813
  - ocamlscript
4717
4814
  tm_scope: source.ocaml
4718
4815
  language_id: 255
4816
+ Oberon:
4817
+ type: programming
4818
+ extensions:
4819
+ - ".ob2"
4820
+ tm_scope: source.modula2
4821
+ ace_mode: text
4822
+ language_id: 677210597
4719
4823
  ObjDump:
4720
4824
  type: data
4721
4825
  extensions:
@@ -5240,6 +5344,25 @@ Pike:
5240
5344
  tm_scope: source.pike
5241
5345
  ace_mode: text
5242
5346
  language_id: 287
5347
+ Pip Requirements:
5348
+ type: data
5349
+ color: "#FFD343"
5350
+ filenames:
5351
+ - requirements-dev.txt
5352
+ - requirements.txt
5353
+ ace_mode: text
5354
+ tm_scope: source.pip-requirements
5355
+ language_id: 684385621
5356
+ Pkl:
5357
+ type: programming
5358
+ color: "#6b9543"
5359
+ extensions:
5360
+ - ".pkl"
5361
+ interpreters:
5362
+ - pkl
5363
+ tm_scope: source.pkl
5364
+ ace_mode: text
5365
+ language_id: 288822799
5243
5366
  PlantUML:
5244
5367
  type: data
5245
5368
  color: "#fbbd16"
@@ -5632,7 +5755,6 @@ R:
5632
5755
  type: programming
5633
5756
  color: "#198CE7"
5634
5757
  aliases:
5635
- - R
5636
5758
  - Rscript
5637
5759
  - splus
5638
5760
  extensions:
@@ -5718,6 +5840,14 @@ RMarkdown:
5718
5840
  - ".rmd"
5719
5841
  tm_scope: text.md
5720
5842
  language_id: 313
5843
+ RON:
5844
+ type: data
5845
+ color: "#a62c00"
5846
+ extensions:
5847
+ - ".ron"
5848
+ ace_mode: rust
5849
+ tm_scope: source.ron
5850
+ language_id: 587855233
5721
5851
  RPC:
5722
5852
  type: programming
5723
5853
  aliases:
@@ -5996,6 +6126,14 @@ RobotFramework:
5996
6126
  tm_scope: text.robot
5997
6127
  ace_mode: text
5998
6128
  language_id: 324
6129
+ Roc:
6130
+ type: programming
6131
+ color: "#7c38f5"
6132
+ extensions:
6133
+ - ".roc"
6134
+ tm_scope: source.roc
6135
+ ace_mode: text
6136
+ language_id: 440182480
5999
6137
  Roff:
6000
6138
  type: markup
6001
6139
  color: "#ecdebe"
@@ -6477,6 +6615,7 @@ Shell:
6477
6615
  - shell-script
6478
6616
  - bash
6479
6617
  - zsh
6618
+ - envrc
6480
6619
  extensions:
6481
6620
  - ".sh"
6482
6621
  - ".bash"
@@ -6499,10 +6638,12 @@ Shell:
6499
6638
  - ".bash_profile"
6500
6639
  - ".bashrc"
6501
6640
  - ".cshrc"
6641
+ - ".envrc"
6502
6642
  - ".flaskenv"
6503
6643
  - ".kshrc"
6504
6644
  - ".login"
6505
6645
  - ".profile"
6646
+ - ".tmux.conf"
6506
6647
  - ".zlogin"
6507
6648
  - ".zlogout"
6508
6649
  - ".zprofile"
@@ -6520,6 +6661,7 @@ Shell:
6520
6661
  - login
6521
6662
  - man
6522
6663
  - profile
6664
+ - tmux.conf
6523
6665
  - zlogin
6524
6666
  - zlogout
6525
6667
  - zprofile
@@ -6613,7 +6755,7 @@ Slash:
6613
6755
  Slice:
6614
6756
  type: programming
6615
6757
  color: "#003fa2"
6616
- tm_scope: source.slice
6758
+ tm_scope: source.ice
6617
6759
  ace_mode: text
6618
6760
  extensions:
6619
6761
  - ".ice"
@@ -6628,6 +6770,14 @@ Slim:
6628
6770
  codemirror_mode: slim
6629
6771
  codemirror_mime_type: text/x-slim
6630
6772
  language_id: 350
6773
+ Slint:
6774
+ type: markup
6775
+ color: "#2379F4"
6776
+ extensions:
6777
+ - ".slint"
6778
+ tm_scope: source.slint
6779
+ ace_mode: text
6780
+ language_id: 119900149
6631
6781
  SmPL:
6632
6782
  type: programming
6633
6783
  extensions:
@@ -6898,11 +7048,9 @@ TI Program:
6898
7048
  color: "#A0AA87"
6899
7049
  extensions:
6900
7050
  - ".8xp"
6901
- - ".8xk"
6902
- - ".8xk.txt"
6903
7051
  - ".8xp.txt"
6904
7052
  language_id: 422
6905
- tm_scope: none
7053
+ tm_scope: source.8xp
6906
7054
  TL-Verilog:
6907
7055
  type: programming
6908
7056
  extensions:
@@ -6926,6 +7074,7 @@ TOML:
6926
7074
  - ".toml"
6927
7075
  filenames:
6928
7076
  - Cargo.lock
7077
+ - Cargo.toml.orig
6929
7078
  - Gopkg.lock
6930
7079
  - Pipfile
6931
7080
  - pdm.lock
@@ -7125,6 +7274,14 @@ Text:
7125
7274
  tm_scope: none
7126
7275
  ace_mode: text
7127
7276
  language_id: 372
7277
+ TextGrid:
7278
+ type: data
7279
+ color: "#c8506d"
7280
+ tm_scope: source.textgrid
7281
+ ace_mode: text
7282
+ extensions:
7283
+ - ".TextGrid"
7284
+ language_id: 965696054
7128
7285
  TextMate Properties:
7129
7286
  type: data
7130
7287
  color: "#df66e4"
@@ -7209,6 +7366,7 @@ TypeScript:
7209
7366
  interpreters:
7210
7367
  - deno
7211
7368
  - ts-node
7369
+ - tsx
7212
7370
  extensions:
7213
7371
  - ".ts"
7214
7372
  - ".cts"
@@ -7805,6 +7963,7 @@ XML:
7805
7963
  - ".mjml"
7806
7964
  - ".mm"
7807
7965
  - ".mod"
7966
+ - ".mojo"
7808
7967
  - ".mxml"
7809
7968
  - ".natvis"
7810
7969
  - ".ncl"
@@ -8107,6 +8266,7 @@ Zig:
8107
8266
  color: "#ec915c"
8108
8267
  extensions:
8109
8268
  - ".zig"
8269
+ - ".zig.zon"
8110
8270
  tm_scope: source.zig
8111
8271
  ace_mode: text
8112
8272
  language_id: 646424281
@@ -8131,6 +8291,17 @@ cURL Config:
8131
8291
  tm_scope: source.curlrc
8132
8292
  ace_mode: text
8133
8293
  language_id: 992375436
8294
+ crontab:
8295
+ type: data
8296
+ color: "#ead7ac"
8297
+ aliases:
8298
+ - cron
8299
+ - cron table
8300
+ filenames:
8301
+ - crontab
8302
+ tm_scope: text.crontab
8303
+ ace_mode: tcl
8304
+ language_id: 705203557
8134
8305
  desktop:
8135
8306
  type: data
8136
8307
  extensions:
@@ -8197,6 +8368,13 @@ jq:
8197
8368
  type: programming
8198
8369
  extensions:
8199
8370
  - ".jq"
8371
+ interpreters:
8372
+ - gojq
8373
+ - jaq
8374
+ - jq
8375
+ - jqjq
8376
+ - jqq
8377
+ - query-json
8200
8378
  tm_scope: source.jq
8201
8379
  language_id: 905371884
8202
8380
  kvlang:
@@ -8306,6 +8484,14 @@ sed:
8306
8484
  ace_mode: text
8307
8485
  tm_scope: source.sed
8308
8486
  language_id: 847830017
8487
+ templ:
8488
+ type: markup
8489
+ color: "#66D0DD"
8490
+ extensions:
8491
+ - ".templ"
8492
+ ace_mode: text
8493
+ tm_scope: source.templ
8494
+ language_id: 795579337
8309
8495
  wisp:
8310
8496
  type: programming
8311
8497
  ace_mode: clojure
@@ -10,10 +10,12 @@ module Linguist
10
10
  class Repository
11
11
  attr_reader :repository
12
12
 
13
+ MAX_TREE_SIZE = 100_000
14
+
13
15
  # Public: Create a new Repository based on the stats of
14
16
  # an existing one
15
- def self.incremental(repo, commit_oid, old_commit_oid, old_stats)
16
- repo = self.new(repo, commit_oid)
17
+ def self.incremental(repo, commit_oid, old_commit_oid, old_stats, max_tree_size = MAX_TREE_SIZE)
18
+ repo = self.new(repo, commit_oid, max_tree_size)
17
19
  repo.load_existing_stats(old_commit_oid, old_stats)
18
20
  repo
19
21
  end
@@ -24,11 +26,13 @@ module Linguist
24
26
  # repo - a Rugged::Repository object
25
27
  # commit_oid - the sha1 of the commit that will be analyzed;
26
28
  # this is usually the master branch
29
+ # max_tree_size - the maximum tree size to consider for analysis (default: MAX_TREE_SIZE)
27
30
  #
28
31
  # Returns a Repository
29
- def initialize(repo, commit_oid)
32
+ def initialize(repo, commit_oid, max_tree_size = MAX_TREE_SIZE)
30
33
  @repository = repo
31
34
  @commit_oid = commit_oid
35
+ @max_tree_size = max_tree_size
32
36
 
33
37
  @old_commit_oid = nil
34
38
  @old_stats = nil
@@ -129,10 +133,8 @@ module Linguist
129
133
  end
130
134
 
131
135
  protected
132
- MAX_TREE_SIZE = 100_000
133
-
134
136
  def compute_stats(old_commit_oid, cache = nil)
135
- return {} if current_tree.count_recursive(MAX_TREE_SIZE) >= MAX_TREE_SIZE
137
+ return {} if current_tree.count_recursive(@max_tree_size) >= @max_tree_size
136
138
 
137
139
  old_tree = old_commit_oid && Rugged::Commit.lookup(repository, old_commit_oid).tree
138
140
  read_index