summaryrefslogtreecommitdiff
path: root/post-update
diff options
context:
space:
mode:
authorGravatar steering72532026-06-07 11:19:50 -0600
committerGravatar steering72532026-06-07 11:19:50 -0600
commit575ed03f3ed584fb5f7e19eb40057a71c6f2c463 (patch)
tree37bd389ed9b26798a3b69996c9a8c51c360b3de1 /post-update
parentno error when deleting a branch (diff)
post-update - set umask to 0022 HEAD main
Diffstat (limited to 'post-update')
-rwxr-xr-xpost-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/post-update b/post-update
index 4a91eb3..aaa2065 100755
--- a/post-update
+++ b/post-update
@@ -1,5 +1,8 @@
#!/bin/sh
+# this should maybe examine core.sharedRepository first
+umask 0002
+
default_branch="$(git rev-parse --abbrev-ref HEAD)"
default_branch_path="$(git rev-parse --symbolic-full-name HEAD)"