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>2013-04-28 00:50:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-28 00:50:17 +0400
commit4f2d2c90f7c32a9113ccce440411ec80374ee385 (patch)
tree312803a008da343b9e773324d8411557a271e918 /lib/gitlab/git/blame.rb
parentdf96c079ef3e358ea221ce4c43163d478b79a5e0 (diff)
Move Gitlab::Git out of gitlab core
Diffstat (limited to 'lib/gitlab/git/blame.rb')
-rw-r--r--lib/gitlab/git/blame.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/gitlab/git/blame.rb b/lib/gitlab/git/blame.rb
deleted file mode 100644
index d7282c587aa..00000000000
--- a/lib/gitlab/git/blame.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-module Gitlab
- module Git
- class Blame
-
- attr_accessor :repository, :sha, :path
-
- def initialize(repository, sha, path)
- @repository, @sha, @path = repository, sha, path
- end
-
- def each
- raw_blame = Grit::Blob.blame(repository.repo, sha, path)
-
- raw_blame.each do |commit, lines|
- next unless commit
-
- commit = Gitlab::Git::Commit.new(commit)
- yield(commit, lines)
- end
- end
- end
- end
-end