From 7384052ee61b4aa25bad65e20615b9a7502e5998 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 13 Feb 2012 20:43:12 +0100 Subject: [PATCH] Fix indenting. --- git-flow-feature | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/git-flow-feature b/git-flow-feature index d653ec11f..e97d67825 100644 --- a/git-flow-feature +++ b/git-flow-feature @@ -475,7 +475,7 @@ avoid_accidental_cross_branch_action() { cmd_pull() { #DEFINE_string prefix false 'alternative remote feature branch name prefix' p - DEFINE_boolean rebase false "pull with rebase" r + DEFINE_boolean rebase false "pull with rebase" r parse_remote_name "$@" if [ -z "$REMOTE" ]; then @@ -501,14 +501,14 @@ cmd_pull() { # we already have a local branch called like this, so simply pull the # remote changes in - if flag rebase; then - if ! git pull --rebase -q "$REMOTE" "$BRANCH"; then - warn "Pull was aborted. There might be conflicts during rebase or '$REMOTE' might be inaccessible." - exit 1 - fi - else - git pull -q "$REMOTE" "$BRANCH" || die "Failed to pull from remote '$REMOTE'." - fi + if flag rebase; then + if ! git pull --rebase -q "$REMOTE" "$BRANCH"; then + warn "Pull was aborted. There might be conflicts during rebase or '$REMOTE' might be inaccessible." + exit 1 + fi + else + it pull -q "$REMOTE" "$BRANCH" || die "Failed to pull from remote '$REMOTE'." + fi echo "Pulled $REMOTE's changes into $BRANCH." else