tempfile=$(generate_rev_ctrl_filelist)
test_or_die "generating revision control file list"
-#perform_revctrl_action_on_file "$tempfile" do_careful_git_update
-perform_revctrl_action_on_file "$tempfile" puff_out_list
-test_or_die "doing a careful git update on: $tempfile"
+perform_revctrl_action_on_file "$tempfile" do_careful_git_update
+test_or_die "doing a careful update on: $tempfile"
# seems to be needed to cause a merge to be resolved.
git pull downstream master
test_or_die "generating revision control file list"
popd &>/dev/null
-#perform_revctrl_action_on_file "$tempfile" do_careful_git_update
-perform_revctrl_action_on_file "$tempfile" puff_out_list
+perform_revctrl_action_on_file "$tempfile" do_careful_git_update
test_or_die "puffing out repository at: $tempfile"
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.
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)"