From 97603d039d315de5beae5cbed464b20fadf32bcd Mon Sep 17 00:00:00 2001 From: Oshane Bailey Date: Fri, 5 Dec 2014 06:07:16 -0500 Subject: [PATCH] touch #22 - Added git hooks. --- app/configs/hooks/post-merge | 1 + app/libs/vecni/Vecni.php | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 app/configs/hooks/post-merge diff --git a/app/configs/hooks/post-merge b/app/configs/hooks/post-merge new file mode 100755 index 0000000..dea0845 --- /dev/null +++ b/app/configs/hooks/post-merge @@ -0,0 +1 @@ +chgrp -R www-data . diff --git a/app/libs/vecni/Vecni.php b/app/libs/vecni/Vecni.php index a964e9b..01c19b1 100755 --- a/app/libs/vecni/Vecni.php +++ b/app/libs/vecni/Vecni.php @@ -114,9 +114,13 @@ public static function in_development(){ } public static function get_submodules(){ + $req_copy = self::getRootFolder().'app/configs/hooks into '.self::getRootFolder().'git/hooks/'; ?>

Please run the following command in git bash.

git submodule update --init +

In addition, copy the contents of

+

By doing this, it will ensure that the permissions and other + server settings will not be modified by git during a push or pull