HomePhorge

Never try to run README as a commit hook

Description

Never try to run README as a commit hook

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.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T4960

Differential Revision: https://secure.phabricator.com/D8981

Details

Provenance
epriestleyAuthored on May 5 2014, 10:54 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPac9c82fcdf03: Check view policy, not join policy, when raising an error for Phame custom…
Branches
Unknown
Tags
Unknown

Event Timeline