pure bash versions of out commit hooks

Leo build: 20140817201234