diff options
author | Stan Hu <stanhu@gmail.com> | 2015-07-23 23:52:21 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-07-24 10:14:58 -0700 |
commit | a5e8ea54eceeb02fe34f0265d8cfe6af8b599098 (patch) | |
tree | 595e52ba7c91ed6eeb99bd7c94d0642448727eff /lib/api/notes.rb | |
parent | 5dd4dea93baa6386ed860a50125dce3ca3890f16 (diff) | |
download | gitlab-ce-a5e8ea54eceeb02fe34f0265d8cfe6af8b599098.tar.gz |
Fix Error 500 when browsing projects with no HEAD
Steps to reproduce:
1. Create a project with a README
2. In the actual remote, type: `git symbolic-ref HEAD refs/heads/nowhere`
3. Check that HEAD is gone via `git ls-remote .`
4. Go to the projects page and see the Error 500
Closes https://github.com/gitlabhq/gitlabhq/issues/9484
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions