Skip to content

Commit f1b3213

Browse files
committed
Merge branch 'develop' of https://github.com/kostiklv/gitflow into develop
2 parents 2074360 + f6fcc4e commit f1b3213

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

git-flow-feature

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,17 @@ cmd_finish() {
281281
require_clean_working_tree
282282

283283
# update local repo with remote changes first, if asked
284-
if has "$ORIGIN/$BRANCH" "$(git_remote_branches)"; then
284+
if has "$ORIGIN/$BRANCH" $(git_remote_branches); then
285285
if flag fetch; then
286286
git fetch -q "$ORIGIN" "$BRANCH"
287+
git fetch -q "$ORIGIN" "$DEVELOP_BRANCH"
287288
fi
288289
fi
289290

290-
if has "$ORIGIN/$BRANCH" "$(git_remote_branches)"; then
291+
if has "$ORIGIN/$BRANCH" $(git_remote_branches); then
291292
require_branches_equal "$BRANCH" "$ORIGIN/$BRANCH"
292293
fi
293-
if has "$ORIGIN/$DEVELOP_BRANCH" "$(git_remote_branches)"; then
294+
if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
294295
require_branches_equal "$DEVELOP_BRANCH" "$ORIGIN/$DEVELOP_BRANCH"
295296
fi
296297

git-flow-hotfix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ cmd_start() {
167167
if flag fetch; then
168168
git fetch -q "$ORIGIN" "$MASTER_BRANCH"
169169
fi
170-
if has "$ORIGIN/$MASTER_BRANCH" "$(git_remote_branches)"; then
170+
if has "$ORIGIN/$MASTER_BRANCH" $(git_remote_branches); then
171171
require_branches_equal "$MASTER_BRANCH" "$ORIGIN/$MASTER_BRANCH"
172172
fi
173173

@@ -213,10 +213,10 @@ cmd_finish() {
213213
git fetch -q "$ORIGIN" "$DEVELOP_BRANCH" || \
214214
die "Could not fetch $DEVELOP_BRANCH from $ORIGIN."
215215
fi
216-
if has "$ORIGIN/$MASTER_BRANCH" "$(git_remote_branches)"; then
216+
if has "$ORIGIN/$MASTER_BRANCH" $(git_remote_branches); then
217217
require_branches_equal "$MASTER_BRANCH" "$ORIGIN/$MASTER_BRANCH"
218218
fi
219-
if has "$ORIGIN/$DEVELOP_BRANCH" "$(git_remote_branches)"; then
219+
if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
220220
require_branches_equal "$DEVELOP_BRANCH" "$ORIGIN/$DEVELOP_BRANCH"
221221
fi
222222

git-flow-release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ cmd_start() {
164164
if flag fetch; then
165165
git fetch -q "$ORIGIN" "$DEVELOP_BRANCH"
166166
fi
167-
if has "$ORIGIN/$DEVELOP_BRANCH" "$(git_remote_branches)"; then
167+
if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
168168
require_branches_equal "$DEVELOP_BRANCH" "$ORIGIN/$DEVELOP_BRANCH"
169169
fi
170170

@@ -211,10 +211,10 @@ cmd_finish() {
211211
git fetch -q "$ORIGIN" "$DEVELOP_BRANCH" || \
212212
die "Could not fetch $DEVELOP_BRANCH from $ORIGIN."
213213
fi
214-
if has "$ORIGIN/$MASTER_BRANCH" "$(git_remote_branches)"; then
214+
if has "$ORIGIN/$MASTER_BRANCH" $(git_remote_branches); then
215215
require_branches_equal "$MASTER_BRANCH" "$ORIGIN/$MASTER_BRANCH"
216216
fi
217-
if has "$ORIGIN/$DEVELOP_BRANCH" "$(git_remote_branches)"; then
217+
if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
218218
require_branches_equal "$DEVELOP_BRANCH" "$ORIGIN/$DEVELOP_BRANCH"
219219
fi
220220

0 commit comments

Comments
 (0)