Skip to content

extract silently omits ignored directories without showing the detection summary #4965

Open

Description

@xiongjianxu

Tested on v8 at 32e5efe.

Consider a parent Git repository with .gitignore containing Developments/. Under that directory, place a separate Git repository containing tracked source code. Running graphify extract . --code-only at the parent root respects the parent's ignore rule and can finish successfully after indexing only the parent shell.

Respecting ignore rules is expected. The problem is that the CLI reports discovered and unclassified files without surfacing the detector's existing ignored records, so the user has little indication why the nested repository is absent.

Expected: show a bounded summary of ignored paths and explain how to inspect the corpus boundary. --no-gitignore should be described specifically as bypassing VCS ignore rules; explicit .graphifyignore and --exclude rules must continue to apply.

The summary should reuse detector output and preserve directory pruning. It should not recursively walk ignored trees or automatically change which files are included.

Activity

  1. github-actions commented on Nov 3, 2026

    @github-actions

    Thanks for opening this issue, @xiongjianxu. A maintainer will take a look soon.

    If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.

    To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions