summaryrefslogtreecommitdiffstats
path: root/git/bin/git-pull-branches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 17:45:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 17:45:05 +0000
commitc6d25830fada04b3d5e8a7b79eac5e878ada8f07 (patch)
treee52a506b07778b5ae323bbee58ea78c7a9140ac0 /git/bin/git-pull-branches
parentAdding debian version 20231120-1. (diff)
downloadopen-infrastructure-service-tools-c6d25830fada04b3d5e8a7b79eac5e878ada8f07.tar.xz
open-infrastructure-service-tools-c6d25830fada04b3d5e8a7b79eac5e878ada8f07.zip
Merging upstream version 20240930.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'git/bin/git-pull-branches')
-rwxr-xr-xgit/bin/git-pull-branches5
1 files changed, 3 insertions, 2 deletions
diff --git a/git/bin/git-pull-branches b/git/bin/git-pull-branches
index aca1ea3..9e84041 100755
--- a/git/bin/git-pull-branches
+++ b/git/bin/git-pull-branches
@@ -2,7 +2,7 @@
# Open Infrastructure: service-tools
-# Copyright (C) 2014-2023 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2024 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -22,11 +22,12 @@
set -e
CURRENT_BRANCH="$(git branch --show-current)"
-REMOTE_BRANCHES="$(git branch -r | awk '{ print $1 }')"
# pull current branch
git pull
+REMOTE_BRANCHES="$(git branch -r | awk '{ print $1 }')"
+
# pull remote branches
for REMOTE_BRANCH in ${REMOTE_BRANCHES}
do