lib/gitlab_git/repository.rb in gitlab_git-7.2.3 vs lib/gitlab_git/repository.rb in gitlab_git-7.2.4

- old
+ new

@@ -754,9 +754,14 @@ end commits end + # Set the "core.autocrlf" config option to true for this repo. + def enable_autocrlf + rugged.config['core.autocrlf'] = true + end + private # Get the content of a blob for a given commit. If the blob is a commit # (for submodules) then return the blob's OID. def blob_content(commit, blob_name)