X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fversion_control.sh;h=0c7ac401b6305cc595e4e7eedea2728c0f55b9d3;hb=b449dfc22782fad12c7f3c41e8433cec0c5cdd09;hp=b96bcb3431fe55aa4f7bb478bc85e3300a08cd6b;hpb=a024693a3e281a0346c10b7d3830ef385d997069;p=feisty_meow.git diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index b96bcb34..0c7ac401 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -243,7 +243,10 @@ function checkin_list() restore_terminal_title } -# does a careful git update on all the folders in the specified list. +# does a careful update on all the folders in the specified list; +# it looks in the REPOSITORY_LIST for those names and updates them. +# this is just like checkout_list, but it's for the puffing up action +# we need to do on git. function puff_out_list() { # make the list of directories unique. @@ -379,9 +382,15 @@ function do_careful_git_update() test_or_die "changing to directory: $directory" if [ ! -d ".git" ]; then - # we ignore if they're jumping into a non-useful folder, but also tell them. - echo "Directory is not a git repository: $directory" - return 0 + +# # we ignore if they're jumping into a non-useful folder, but also tell them. +# echo "Directory is not a git repository: $directory" +# return 0 + + # new and better approach; just boil down to a getem action. + popd &>/dev/null + do_update $directory + return $? fi local this_branch="$(my_branch_name)"