BigW Consortium Gitlab

  1. 02 Aug, 2016 1 commit
    • Speedup DiffNote#active? on discussions, preloading noteables and avoid touching… · 8716ff7f
      Paco Guzman authored
      Speedup DiffNote#active? on discussions, preloading noteables and avoid touching git repository to return diff_refs when possible
      
      - Preloading noteable we share the same noteable instance when more than one 
      discussion refers to the same noteable.
      - Any other call to that object that is cached in that object will be for any 
      discussion.
      - In those cases where merge_request_diff has all the sha stored to build a diff_refs get that 
      diff_refs using directly those sha instead accessing to the git repository to first get the 
      commits and later the sha.
  2. 07 Jul, 2016 1 commit
  3. 06 Jul, 2016 1 commit