Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make git fetch silent

  • Loading branch information...
commit 4d22227a68d5e1ffa242cee2de64829de1e9db2f 1 parent e2fa491
@hollow hollow authored
View
10 git-flow-feature
@@ -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
View
6 git-flow-hotfix
@@ -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
View
4 git-flow-release
@@ -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
View
2  git-flow-support
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.