• L
    Not sure why, but apparently SHA works better · c0dfa0c6
    Lin Jen-Shin 提交于
    It's very weird that source_commit.raw_commit and
    rugged.branches[merge_request.target_branch].target
    should be completely the same. I checked with ==
    and other values which proved that both should be
    the same, but still tests cannot pass for:
    spec/services/merge_requests/refresh_service_spec.rb
    
    I decided to give it up. We could just use SHA and
    that works fine anyway.
    c0dfa0c6
repository.rb 31.2 KB