Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-06-22 13:25:09 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-06-22 13:25:09 +0300
commitbef405333c2527a78ef5c2f438000e822e39669d (patch)
tree37b599cadb8b79116e98d41bb7400ebd067cf1a3
parent87c67b17480e9c87c6211f167191b76e3a0d1da4 (diff)
parent156edd8d6fcc1dd48b21a4cf01bbf4eda427ab10 (diff)
Merge branch '7-12-stable' of dev.gitlab.org:gitlab/gitlabhq into 7-12-stable
-rw-r--r--CHANGELOG10
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--app/models/repository.rb7
4 files changed, 19 insertions, 4 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 6a4b17b3aed..4f8b23f2553 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,15 @@
Please view this file on the master branch, on stable branches it's out of date.
+v 7.13.0 (unreleased)
+ - Update maintenance documentation to explain no need to recompile asssets for omnibus installations (Stan Hu)
+ - Support commenting on diffs in side-by-side mode (Stan Hu)
+ - Fix JavaScript error when clicking on the comment button on a diff line that has a comment already (Stan Hu)
+ - Remove project visibility icons from dashboard projects list
+ - Rename "Design" profile settings page to "Preferences".
+ - Allow users to customize their default Dashboard page.
+ - Update ssl_ciphers in Nginx example to remove DHE settings. This will deny forward secrecy for Android 2.3.7, Java 6 and OpenSSL 0.9.8
+ - Convert CRLF newlines to LF when committing using the web editor.
+
v 7.12.0 (unreleased)
- Fix Error 500 when one user attempts to access a personal, internal snippet (Stan Hu)
- Disable changing of target branch in new merge request page when a branch has already been specified (Stan Hu)
diff --git a/Gemfile b/Gemfile
index 1171eeb17ac..d881d3858b4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -34,7 +34,7 @@ gem "browser", '~> 0.8.0'
# Extracting information from a git repository
# Provide access to Gitlab::Git library
-gem "gitlab_git", '~> 7.2.3'
+gem "gitlab_git", '~> 7.2.5'
# Ruby/Rack Git Smart-HTTP Server Handler
# GitLab fork with a lot of changes (improved thread-safety, better memory usage etc)
diff --git a/Gemfile.lock b/Gemfile.lock
index 8705bacdbb2..08c74fd169e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -266,7 +266,7 @@ GEM
mime-types (~> 1.19)
gitlab_emoji (0.1.0)
gemojione (~> 2.0)
- gitlab_git (7.2.3)
+ gitlab_git (7.2.5)
activesupport (~> 4.0)
charlock_holmes (~> 0.6)
gitlab-linguist (~> 3.0)
@@ -765,7 +765,7 @@ DEPENDENCIES
gitlab-grack (~> 2.0.2)
gitlab-linguist (~> 3.0.1)
gitlab_emoji (~> 0.1)
- gitlab_git (~> 7.2.3)
+ gitlab_git (~> 7.2.5)
gitlab_meta (= 7.0)
gitlab_omniauth-ldap (= 1.2.1)
gollum-lib (~> 4.0.2)
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 2c6347222aa..b32e8847bb5 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -5,8 +5,13 @@ class Repository
def initialize(path_with_namespace, default_branch = nil, project = nil)
@path_with_namespace = path_with_namespace
- @raw_repository = Gitlab::Git::Repository.new(path_to_repo) if path_with_namespace
@project = project
+
+ if path_with_namespace
+ @raw_repository = Gitlab::Git::Repository.new(path_to_repo)
+ @raw_repository.autocrlf = :input
+ end
+
rescue Gitlab::Git::Repository::NoRepository
nil
end