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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-25 13:46:30 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-25 13:46:30 +0400
commitb13c1469a317a36a72e87fa92972e440fc8438e5 (patch)
treed8624e12e5d51cb4b7ea5b3d2219748004df4a8d /lib/gitlab/diff
parent3695ae185b7073f363335d41ba3d6317a63c0739 (diff)
Rollback diff drop and set default commit id to HEAD
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/gitlab/diff')
-rw-r--r--lib/gitlab/diff/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/diff/parser.rb b/lib/gitlab/diff/parser.rb
index 447aecb9450..9d6309954a4 100644
--- a/lib/gitlab/diff/parser.rb
+++ b/lib/gitlab/diff/parser.rb
@@ -13,7 +13,7 @@ module Gitlab
lines_arr = ::Gitlab::InlineDiff.processing lines
- lines_arr.drop(4).each do |line|
+ lines_arr.each do |line|
raw_line = line.dup
next if filename?(line)