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
F18754962: D8981.diff
Sun, Oct 5, 2:38 AM
F18742536: D8981.diff
Thu, Oct 2, 8:06 PM
F18665086: D8981.diff
Wed, Sep 24, 12:27 AM
F18626495: D8981.id21306.diff
Tue, Sep 16, 1:23 AM
F18547201: D8981.id.diff
Sep 8 2025, 5:31 AM
F18087038: D8981.id21313.diff
Aug 6 2025, 2:00 AM
F17945607: D8981.id21306.diff
Jul 31 2025, 12:45 PM
F17827490: D8981.id.diff
Jul 26 2025, 8:17 AM
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.