Skip to content

Commit aea1e64

Browse files
Elon Muskclaude
andauthored
fix(create-objectstack): track declared bin as executable (#11075)
* fix(create-objectstack): track declared bin as executable The declared bin packages/create-objectstack/bin/create-objectstack.js was tracked 100644 despite having a shebang and being pnpm's bin link target. pnpm chmods it to 755 on every install, and with core.fileMode=true that registers as a tracked mode change in every fresh worktree — a file nobody edited shows up dirty, and a routine git add -A can sweep it into an unrelated PR. Matches the sibling declared bin packages/cli/bin/run.js, which is already tracked 100755. Mode-only change; blob content and hash are unchanged. * chore: add changeset for create-objectstack bin exec bit fix --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6e54ac0 commit aea1e64

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"create-objectstack": patch
3+
---
4+
5+
Fix the declared bin (`bin/create-objectstack.js`) being tracked non-executable
6+
in git. It carries a `#!/usr/bin/env node` shebang and is pnpm's link target
7+
for the `create-objectstack` command, but was committed `100644` instead of
8+
`100755` — matching the sibling declared bin `packages/cli/bin/run.js`, which
9+
was already tracked executable.
10+
11+
Patch bump: this is a packaging-mode correction with no content, API or
12+
behavior change (the blob hash is identical) — it only fixes how the file is
13+
tracked in git and therefore how it is packed for npm.

packages/create-objectstack/bin/create-objectstack.js

100644100755
File mode changed.

0 commit comments

Comments
 (0)