Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Check the cache hook in a non-bare repository
scan-path finds such a repository by its .git and serves it at the work tree's path, so the hook has to strip the /.git it runs in. Only bare repositories were tried, and a hook that kept it passed.
-rwxr-xr-xtests/t0507-hooks.sh29
1 file changed, 29 insertions, 0 deletions