From: Oleg Broytman Date: Tue, 20 Aug 2024 13:21:44 +0000 (+0300) Subject: Style(update-remotes): Move `branches` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b8de7f6d7fcb2ba6ee9704661ce150b2ce2cdd2b;p=git-scripts.git Style(update-remotes): Move `branches` --- diff --git a/update-remotes b/update-remotes index 710fed7..ead8e91 100755 --- a/update-remotes +++ b/update-remotes @@ -1,9 +1,9 @@ #! /bin/sh set -e +branches="master ${1:+$@}" current="`git config --get --path remote.current.url`" || : origin="`git config --get --path remote.origin.url`" || : -branches="master ${1:+$@}" if [ -n "$origin" ]; then if [ -n "$current" ]; then