Skip to content

Feature request: show submodule changes in git diff view #480

Description

@yangyao

Problem

git diff view does not work well for monorepos/workspaces that use Git submodules.

In this setup, it is not enough to only show that the superproject has a submodule pointer change. I also need to see what changed inside each submodule.

Request

Please add support in git diff view for repositories built with Git submodules, so the UI can surface changes for each submodule.

Ideally this would include:

  • detecting modified submodules in the current workspace
  • showing each submodule as its own changed unit in the diff view
  • allowing users to inspect the actual changes inside each submodule, not just the top-level pointer update

Why this matters

For submodule-based monorepos, the current diff is incomplete from a review/workflow perspective.

If the UI only shows that a submodule SHA changed, users still need to manually enter each submodule and inspect changes separately. That breaks the review flow and makes the built-in diff view much less useful.

A proper diff experience should make submodule changes visible directly in the app.

Thanks.

Activity

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