summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/repository/git.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index 86507acbc..602dba898 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -144,6 +144,10 @@ class Repository::Git < Repository
merge_extra_info(h)
self.save
end
+ save_revisions(h, scm_brs)
+ end
+
+ def save_revisions(h, scm_brs)
scm_brs.each do |br1|
br = br1.to_s
from_scmid = nil
@@ -167,6 +171,7 @@ class Repository::Git < Repository
end
end
end
+ private :save_revisions
def save_revision(rev)
changeset = Changeset.new(