Skip to content

Problem: can't push a new branch without reformatting the repo #151

Description

@tiffmyaaw

Problem

The first push of a new branch in holdex/marketing lints every markdown file in the repo, rewrites 34 unrelated files, and refuses the push. No new branch lands its first commit without reformatting work it never touched.

Solution

A new branch pushes its first commit without reformatting files it never touched, in every repo running the hook.

holdex/partnerships already takes the merge base against the default branch, keeping git's empty tree only as a fallback. Marketing's copy jumps straight to the empty tree, so the two have drifted. Whether that copy gets patched, or the hook ships from one place under DEV-380, is @zolotokrylin's call.

Related to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions