summaryrefslogtreecommitdiff
path: root/template/hooks/post-checkout
blob: c7ab243322e2a79c1cba90ab02b4fac6de48a131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

old=$1
new=$2

if [ "$old" = 0000000000000000000000000000000000000000 ] ; then
	set "$new"
else
	set "$old" "$new"
fi

exec "$(git config oasis.root)"/libexec/oasis/perms-hook "$@"