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
F19561197: D8981.id21313.diff
Sat, Jan 31, 9:51 AM
F19543524: D8981.id21313.diff
Thu, Jan 22, 8:28 PM
F19506486: D8981.id21306.diff
Jan 9 2026, 4:47 PM
F18943694: D8981.id21306.diff
Nov 11 2025, 2:30 PM
F18943693: D8981.id21313.diff
Nov 11 2025, 2:30 PM
F18849657: D8981.id.diff
Oct 30 2025, 11:13 AM
F18839963: D8981.id21313.diff
Oct 27 2025, 8:14 PM
F18803397: D8981.id21306.diff
Oct 17 2025, 11:23 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.