1. 20 2月, 2016 25 次提交
  2. 19 2月, 2016 3 次提交
  3. 18 2月, 2016 5 次提交
    • Y
      Handle raw_repository returning nil in exists? · 5b6d347f
      Yorick Peterse 提交于
      If path_with_namespace is nil Repository#raw_repository will also return
      nil. Apparently code out there creates a Repository instance without a
      namespace path. Right.
      5b6d347f
    • Y
      Use Repository#exists? in Repository#commit? · 19b21c2e
      Yorick Peterse 提交于
      Just checking raw_repository is no longer accurate to determine if a
      repository exists or not.
      19b21c2e
    • Y
      Fixed Repository#exists? to handle errors · 54aa0969
      Yorick Peterse 提交于
      Now that Repository#raw_repository no longer sets the autocrlf option it
      will also no longer raise any NoRepository errors since it doesn't
      access Rugged any more. This also means that Repository#exists? can't
      simply return the raw repository as this is no indication of whether or
      not the repository actually exists (besides returning a non boolean is
      weird in the first place).
      
      To solve this problem Repository#exists? now properly checks if the
      repository exists and returns true/false instead of a
      Gitlab::Git::Repository or nil object.
      54aa0969
    • Y
      Only set autocrlf when creating/updating files · c475b171
      Yorick Peterse 提交于
      Setting the "autocrlf" Git option is an overkill since it's rarely
      actually needed. More importantly, it has quite the impact on
      performance (see gitlab-org/gitlab-ce#13457 for more information).
      
      By setting "autocrlf" when creating or updating files we guarantee the
      option is always set properly when we actually need it _without_
      introducing overhead for requests that have nothing to do with this
      option.
      
      Fixes gitlab-org/gitlab-ce#13457
      c475b171
    • R
      Reopened MRs should also be considered as open. · 2770de96
      Rubén Dávila 提交于
      2770de96
  4. 17 2月, 2016 5 次提交
  5. 16 2月, 2016 2 次提交