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
F15524834: D8981.diff
Mon, Apr 21, 10:41 AM
F15516522: D8981.id21313.diff
Fri, Apr 18, 7:22 PM
F15516513: D8981.id21306.diff
Fri, Apr 18, 7:17 PM
F15468032: D8981.diff
Thu, Apr 3, 7:38 PM
F15407330: D8981.id21313.diff
Mar 18 2025, 4:58 PM
F15389024: D8981.id21313.diff
Mar 15 2025, 4:49 AM
F15353509: D8981.diff
Mar 10 2025, 10:29 PM
F15316278: D8981.id21306.diff
Mar 6 2025, 6:30 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
Lint
Lint Skipped
Unit
Tests Skipped

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.