pub fn is_bakeable(bin: &str) -> boolExpand description
Whether the shim will accept bin as its baked path.
The shim rejects anything relative before it ever touches the filesystem, and this is the same rule stated where the value is produced. Git runs a hook with the working tree as the current directory, so a relative baked path is a question asked of the REPOSITORY — and a clone that ships a file by that name gets to answer it. Baking one would install a hook that either cannot resolve its binary or resolves it to somebody else’s, so refuse here too, where the message can say which path was wrong.
Absolute means POSIX /… or a Windows drive path (C:\…, C:/…).