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" do_careful_git_update "$(\pwd)"
test_or_die "doing a careful git update on: $tempfile"
# send our little boat down the stream to the dependent repository.
fi
# a new set of steps we have to take to make sure the branch integrity is good.
- do_careful_git_update
+ do_careful_git_update "$(\pwd)"
# we continue on to the push, even if there were no changes this time, because
# there could already be committed changes that haven't been pushed yet.
did_anything=yes
pushd "$dirname" &>/dev/null
echo "[$(pwd)]"
- $action .
+ # pass the current directory plus the remaining parameters from function invocation.
+ $action . $*
test_or_die "performing action $action on: $(pwd)"
sep 28
popd &>/dev/null