Working on a ruby/git project using Grit, but I'm unable to update my submodules programmatically. I figured out how the missing_method function maps to git and how to use it to perform tasks not written in to grit, however the submodule update function doesnt seem to work.
Here is an example of my code:
git = Grit::Git.new(@repository)
git.pull
pp git.submodule({:quiet => false, :verbose => true, :progress => true}, "update")
Returns:
""
Thanks in advance!