Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions changelog.d/unreleased/4587.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
category: internal
issues:
- 4587
affected:
- src/CodeIndex/Indexer/Scanning/FileIndexer.cs
---

## English

- **Removed the unused duplicate Git LFS pointer-size constant (#4587)** — `FileIndexer` no longer declares a dead copy of the threshold owned and used by `FileContentLoader`, eliminating ambiguity without changing indexing behavior.

## 日本語

- **未使用だった Git LFS ポインターサイズ定数の重複を削除しました (#4587)** — `FileIndexer` に残っていた、`FileContentLoader` が保持・使用するしきい値の不要なコピーを削除し、インデックス動作を変えずに定数の所在に関する曖昧さを解消しました。
1 change: 0 additions & 1 deletion src/CodeIndex/Indexer/Scanning/FileIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public partial class FileIndexer
private static readonly IReadOnlyDictionary<string, int> EmptyLanguageCounts =
new Dictionary<string, int>(StringComparer.Ordinal);
private const int MaxDirectoryTraversalDepth = 128;
private const int GitLfsPointerMaxBytes = 1024;
private const int MaxGitmodulesBytes = 256 * 1024;
private const int MaxGitmodulesLines = 4096;
private const int MaxGitmodulesLineChars = 16 * 1024;
Expand Down
Loading