From ddd238eff87cb2df799b17dd3e8701780cc4d5b4 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Mon, 11 Aug 2014 13:00:37 +0300
Subject: [PATCH] Revert "history for files follows after rename"

This reverts commit a54735613324cd0501e90c4744a698c46cfdc128.
Because grit does not respect offset setting when follow: true which
cause invalid commit history for file
---
 app/models/repository.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/models/repository.rb b/app/models/repository.rb
index 3d7a08a21f6..e970c449a73 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -39,7 +39,6 @@ class Repository
       path: path,
       limit: limit,
       offset: offset,
-      follow: path.present?,
     )
     commits = Commit.decorate(commits) if commits.present?
     commits
-- 
GitLab