Skip to content

GitInfo issue with subtrees and squash commits #5059

@bep

Description

@bep

I saw this while looking into #5054.

Seems that when we pull in changes to this repo's /docs and squash it, we get paths on the form:

  • content/en/about/features.md

If you do an edit and commit directly in this repo, it says:

  • docs/content/en/about/features.md

Which means that we currently cannot use --enableGitInfo when watching the docs from this repo.

Not sure if this can be fixed on the Git side. We could consider doing a double lookup. Not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions