Permalink
Browse files

Don't default to master

  • Loading branch information...
1 parent a6f81c9 commit 7e6f75924cfb2cbfe172a92458502c387fe4c6f8 @kvz kvz committed Nov 7, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 gittydown.sh
View
8 gittydown.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-git pull origin master
-git submodule status
-git submodule update --init
-
+git pull origin
if [ "${1}" = "-modules" ]; then
+ git submodule status
+ git submodule update --init
+
for mod in `git submodule status | awk '{ print $2 }'`; do
if [ -z "${2}" ] || [ "${2}" = "${mod}" ]; then
changed=0

0 comments on commit 7e6f759

Please sign in to comment.