pbm init: warn when .pbm.yml is present but untracked in a git repo #2
Labels
No labels
P0
P1
P2
P3
next
project/pb-mirror
ready-for-agent
ready-for-human
review
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/pb-mirror#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
pbm initnow warns when an existing ignore rule matches.pbm.yml(GitignoreManager#warn_if_config_ignored, git check-ignore path). It does not warn for the adjacent failure mode that caused cc-os #510:.pbm.ymlpresent in a git repo but untracked, so it silently never travels with schema migrations.Tasks
git ls-files --error-unmatch .pbm.yml(or equivalent) and warn if untrackedOrigin