diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-21 17:15:39 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-21 17:15:39 -0500 |
commit | 2e8e103f42a81c39058feace314a78667f8b316f (patch) | |
tree | 9343c6fcff96915b6b390b2fbaf2e4fe05f2e566 /lib/leap_cli/config/object.rb | |
parent | ef718864cabfa95d4fbed037022f6688d86f87b1 (diff) |
handle submodule updates and url changes
If a submodule had an update, it would show up as a + in the 'git submodule
status' output, and thus would not be automatically updated because we were only
looking for '-', so the regexp was changed to look for + as well as -
Additionally, add a 'git submodule sync' on every run in order to capture the
case where an upstream submodule URL was changed. This doesn't happen often, but
it can be quite painful when it does, and fortunately 'git submodule sync' is a
local (and thus, cheap) command.
Diffstat (limited to 'lib/leap_cli/config/object.rb')
0 files changed, 0 insertions, 0 deletions