gitlabhq/gitlabhq — pull request #4854 by aus (2013-08-22 18:12:43+00:00)
Title: Fix GitLab Shell version check

Currently, the `gitlab_shell_version_file` uses `repos_path` to find the VERSION file. I have moved my repositories path to a custom directory outside of `gitlab-shell`. This causes the check to fail and return Unknown. The hooks directory is more likely to be inside the gitlab-shell base directory. Using the hooks path to find the VERSION file would be more reliable.