{"version":"2.1.284","anchor":"git-kept-files-tree-handles-submodule-entries-and-malformed","canonical_anchor":"git-kept-files-tree-handles-submodule-entries-and-malformed","heading":"Git file check handles submodules and malformed file entries","tier":"internal","area":"Git","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284\/e\/git-kept-files-tree-handles-submodule-entries-and-malformed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284","markdown":"### Git file check handles submodules and malformed file entries\n\nA check Claude Code runs on git's record of kept files now copes with submodules and reports malformed entries as tampered\n\n**Unclear.** It is not clear which Claude Code feature uses this git check.\n\n**What**\n\nClaude Code rebuilds a list of files from git in one of its features. That check has changed in a few ways:\n\n- Submodules, which are other git projects nested inside a repository, are skipped when their contents are not present.\n\n- Items that are not ordinary files are checked against their recorded fingerprint instead of being treated as a missing `.gitattributes` file.\n\n- File-type entries are checked for a valid format, and ones that fail are reported as tampered.\n\n**Why**\n\nRepositories with submodules should no longer produce false \"tampered\" or error results from this check.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}