public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
git-tmbundle / Support / app / helpers / submodule_helper.rb
100644 10 lines (10 sloc) 0.245 kb
1
2
3
4
5
6
7
8
9
10
module SubmoduleHelper
  module Update
    def update_submodules_si_hay
      unless git.submodule.all.empty?
        puts "<br /><br /><h3>Updating submodules</h3>"
        puts htmlize(git.submodule.init_and_update)
      end
    end
  end
end