make git fetch silent
This commit is contained in:
parent
e2fa4913cc
commit
4d22227a68
4 changed files with 11 additions and 11 deletions
|
@ -56,7 +56,7 @@ cmd_start() {
|
|||
gitflow_check_clean_working_tree
|
||||
gitflow_require_branch_absent $BRANCH
|
||||
if [ "$BASE" = "$DEVELOP_BRANCH" ]; then
|
||||
git fetch $ORIGIN $DEVELOP_BRANCH
|
||||
git fetch -q $ORIGIN $DEVELOP_BRANCH
|
||||
gitflow_require_branches_equal $DEVELOP_BRANCH $ORIGIN/$DEVELOP_BRANCH
|
||||
fi
|
||||
|
||||
|
@ -80,7 +80,7 @@ cmd_finish() {
|
|||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
gitflow_require_branch $BRANCH
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
if has $ORIGIN/$BRANCH $REMOTE_BRANCHES; then
|
||||
gitflow_require_branches_equal $BRANCH $ORIGIN/$BRANCH
|
||||
fi
|
||||
|
@ -116,12 +116,12 @@ cmd_publish() {
|
|||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
gitflow_require_branch $BRANCH
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
gitflow_require_branch_absent $ORIGIN/$BRANCH
|
||||
|
||||
# create remote branch
|
||||
git push $ORIGIN $BRANCH:refs/heads/$BRANCH
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
|
||||
# configure remote tracking
|
||||
git config branch.$BRANCH.remote $ORIGIN
|
||||
|
@ -142,7 +142,7 @@ cmd_track() {
|
|||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
gitflow_require_branch_absent $BRANCH
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
gitflow_require_branch $ORIGIN/$BRANCH
|
||||
|
||||
# create tracking branch
|
||||
|
|
|
@ -49,7 +49,7 @@ cmd_start() {
|
|||
|
||||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
gitflow_require_branches_equal $MASTER_BRANCH $ORIGIN/$MASTER_BRANCH
|
||||
gitflow_require_branch_absent $BRANCH
|
||||
|
||||
|
@ -75,8 +75,8 @@ cmd_finish() {
|
|||
|
||||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
git fetch $ORIGIN $MASTER_BRANCH
|
||||
git fetch $ORIGIN $DEVELOP_BRANCH
|
||||
git fetch -q $ORIGIN $MASTER_BRANCH
|
||||
git fetch -q $ORIGIN $DEVELOP_BRANCH
|
||||
gitflow_require_branches_equal $MASTER_BRANCH $ORIGIN/$MASTER_BRANCH
|
||||
gitflow_require_branches_equal $DEVELOP_BRANCH $ORIGIN/$DEVELOP_BRANCH
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ cmd_start() {
|
|||
|
||||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
gitflow_require_branches_equal $DEVELOP_BRANCH $ORIGIN/$DEVELOP_BRANCH
|
||||
gitflow_require_branch_absent $BRANCH
|
||||
|
||||
|
@ -75,7 +75,7 @@ cmd_finish() {
|
|||
|
||||
# sanity checks
|
||||
gitflow_check_clean_working_tree
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
gitflow_require_branches_equal $MASTER_BRANCH $ORIGIN/$MASTER_BRANCH
|
||||
gitflow_require_branches_equal $DEVELOP_BRANCH $ORIGIN/$DEVELOP_BRANCH
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ cmd_start() {
|
|||
|
||||
# publish branch
|
||||
git push $ORIGIN $BRANCH:refs/heads/$BRANCH
|
||||
git fetch $ORIGIN
|
||||
git fetch -q $ORIGIN
|
||||
git config branch.$BRANCH.remote $ORIGIN
|
||||
git config branch.$BRANCH.merge refs/heads/$BRANCH
|
||||
git co $BRANCH
|
||||
|
|
Loading…
Reference in a new issue