- retval+=$?
- fi
- # catch if the diff-index failed somehow.
- retval+=$?
-
-#push the changes to where? locally?
- git push 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs
- retval+=${PIPESTATUS[0]}
-
- # upload any changes to the upstream repo so others can see them.
- if [ "$(my_branch_name)" != "master" ]; then
- git push origin "$(my_branch_name)" 2>&1 | grep -v "X11 forwarding request failed" | squash_first_few_crs
- retval+=${PIPESTATUS[0]}