Fix permission problems:
commitc79648ebd801f80f711305527ef7f93652c1db9c
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 12 Oct 2008 08:26:04 +0000 (12 12:26 +0400)
committerAlexander Gavrilov <angavrilov@gmail.com>
Sun, 12 Oct 2008 08:26:04 +0000 (12 12:26 +0400)
tree93c946cbfa3efe339730ed931eca15d8fc61fdba
parent73a032520493f6b4186185d4826d12edb5614135
Fix permission problems:

- The default template ends up installed as non-executable, so
  make sure the hook has executable permissions after init.
- Set umask before checking for exact values of permissions.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
gitosis/init.py
gitosis/test/test_repository.py