Permalink
Browse files

make git fetch silent

  • Loading branch information...
1 parent e2fa491 commit 4d22227a68d5e1ffa242cee2de64829de1e9db2f @hollow hollow committed Jan 26, 2010
Showing with 11 additions and 11 deletions.
  1. +5 −5 git-flow-feature
  2. +3 −3 git-flow-hotfix
  3. +2 −2 git-flow-release
  4. +1 −1 git-flow-support
View
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 4d22227

Please sign in to comment.