diff options
| -rwxr-xr-x | template/hooks/post-checkout | 2 | ||||
| -rwxr-xr-x | template/hooks/post-merge | 2 | ||||
| -rw-r--r-- | util/applyperms.c (renamed from util/perms-hook.c) | 0 | ||||
| -rw-r--r-- | util/gen.rc | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/template/hooks/post-checkout b/template/hooks/post-checkout index a4871453..5e59bb5c 100755 --- a/template/hooks/post-checkout +++ b/template/hooks/post-checkout @@ -12,4 +12,4 @@ else set "$old" "$new" fi -exec "$(git config oasis.root)"/libexec/oasis/perms-hook "$@" +exec "$(git config oasis.root)"/libexec/oasis/applyperms "$@" diff --git a/template/hooks/post-merge b/template/hooks/post-merge index f8c7404f..b9563d0d 100755 --- a/template/hooks/post-merge +++ b/template/hooks/post-merge @@ -1,3 +1,3 @@ #!/bin/sh -exec "$(git config oasis.root)"/libexec/oasis/perms-hook ORIG_HEAD HEAD +exec "$(git config oasis.root)"/libexec/oasis/applyperms ORIG_HEAD HEAD diff --git a/util/perms-hook.c b/util/applyperms.c index f707af34..f707af34 100644 --- a/util/perms-hook.c +++ b/util/applyperms.c diff --git a/util/gen.rc b/util/gen.rc index aa7c175c..b58854a5 100644 --- a/util/gen.rc +++ b/util/gen.rc @@ -3,8 +3,8 @@ cflags\ -Wall -Wextra -Wno-unused-parameter -pedantic\ '-std=c11' -exe perms-hook perms-hook.c -file libexec/oasis/perms-hook '$outdir'/perms-hook 755 +exe applyperms applyperms.c +file libexec/oasis/applyperms '$outdir'/applyperms 755 exe shutdown shutdown.c file libexec/oasis/shutdown '$outdir'/shutdown 755 |
