diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-06 20:45:39 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-06 20:45:39 +0400 |
commit | 9d14c5137a5a82ed8edd353ac7e6ed701fc6f49d (patch) | |
tree | d6fdbeed76d6387fa4474c8ae3160b9a80440511 /spec/models/merge_request_spec.rb | |
parent | d618a5fec361b85fafffd5cf4a53d044e82bdb5a (diff) |
Project#default_branch use repo HEAD instead of DB value now
Drop default_branch field from projects table
Use repository.root_ref as value for defautl_branch method
Fixes issue with default_branch and HEAD getting out of sync
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/models/merge_request_spec.rb')
0 files changed, 0 insertions, 0 deletions