From 566cd8209b863fec0eb195b19035c79fec61c802 Mon Sep 17 00:00:00 2001 From: Pavel Chipiga Date: Fri, 27 Jul 2012 00:24:14 +0300 Subject: [PATCH] Take back branches_and_repos method. Refs #263 --- lib/ext/git/grit.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ext/git/grit.rb b/lib/ext/git/grit.rb index 6a0095de3..4fa2f11f3 100644 --- a/lib/ext/git/grit.rb +++ b/lib/ext/git/grit.rb @@ -82,6 +82,12 @@ module Grit return 1 end end + + class Repo + def branches_and_tags + branches + tags # @branches_and_tags ||= # ??? + end + end end Grit::Git.git_timeout = 60