Skip to content

Incorrect issue references due to GitHub default merge messages #44

@reddevilmidzy

Description

@reddevilmidzy

When syncing subtree repositories via josh-sync, the default GitHub merge commit message is preserved:

Merge pull request #xxx from owner/branch

As a result, #xxx is resolved against rust-lang/rust instead of the original subtree repository, leading to incorrect issue references.

I'm not sure if this has been discussed before, but rewriting merge commit messages during sync to use:

rust-lang/{subtree-repo}#xxx

would allow references to point to the correct issues.


cc: rust-lang/rust#154980

Image

The commits here refer to the rustc-dev-guide issue, not the rust issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions