X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Frev_control%2Fversion_control.sh;h=75f344cf66ab8485f0e8b980f6b83c8eef924859;hb=2f16fef69a2b294671c34f52de6cacdd989980e5;hp=6396a88af7218e864a532713d3c3db032b693bab;hpb=845e27f6901e8c440797a9c52c1517a2ad81e153;p=feisty_meow.git diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index 6396a88a..75f344cf 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -15,7 +15,7 @@ source "$FEISTY_MEOW_SCRIPTS/tty/terminal_titler.sh" export MAX_DEPTH=5 # use our splitter tool for lengthy output if it's available. -if [ ! -z "$(which splitter)" ]; then +if [ ! -z "$(which splitter 2>/dev/null)" ]; then TO_SPLITTER="$(which splitter)" # calculate the number of columsn in the terminal. cols=$(get_maxcols) @@ -118,7 +118,7 @@ function do_checkin() # there could already be committed changes that haven't been pushed yet. # upload any changes to the upstream repo so others can see them. - git push origin "$(my_branch_name)" 2>&1 | grep -v "X11 forwarding request failed" | $TO_SPLITTER + git push --tags origin "$(my_branch_name)" 2>&1 | grep -v "X11 forwarding request failed" | $TO_SPLITTER promote_pipe_return 0 test_or_die "git push"