Page MenuHomePhabricator

Never try to run README as a commit hook
ClosedPublic

Authored by epriestley on May 5 2014, 3:43 PM.
Tags
None
Referenced Files
F20887721: D8981.id21306.diff
Fri, Jun 26, 2:24 PM
F20873471: D8981.id21306.diff
Fri, Jun 26, 10:58 AM
F20873395: D8981.id21313.diff
Fri, Jun 26, 10:57 AM
F20862305: D8981.diff
Fri, Jun 26, 6:41 AM
Unknown Object (File)
Apr 22 2026, 5:14 AM
Unknown Object (File)
Mar 5 2026, 1:50 PM
Unknown Object (File)
Jan 31 2026, 9:51 AM
Unknown Object (File)
Jan 22 2026, 8:28 PM
Subscribers

Details

Summary

Fixes T4960. Users chmod +x this, and then bash chokes on it.

Phabricator "owns" this file anyway, so there is no real ambiguity here: this should never be a hook script.

Test Plan
  • Did chmod +x README.
  • Made a commit.
  • Added z.sh, got blocked.

Diff Detail

Repository
rP Phabricator
Branch
noreadme
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 248
Build 248: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Never try to run README as a commit hook.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.May 5 2014, 4:30 PM
epriestley updated this revision to Diff 21313.

Closed by commit rP74faacee4d4a (authored by @epriestley).

Harbormaster completed remote builds in B248: Diff 21306.