From ac3cd4ea952c15074f1c3d8424a2e2ec41db7afc Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 20 Aug 2024 15:55:46 +0300 Subject: [PATCH] Style(update-remotes): Fix 3-spaces indents -> 4-spaces --- update-remotes | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/update-remotes b/update-remotes index 02ac77a..7d8f0c2 100755 --- a/update-remotes +++ b/update-remotes @@ -6,16 +6,16 @@ origin="`git config --get --path remote.origin.url`" || : branches="master ${1:+$@}" if [ -n "$origin" ]; then - if [ -n "$current" ]; then - echo "Config error (both origin and current)" >&2 - exit 1 - else - cd "$origin" - exec ./update-remotes "$@" - fi + if [ -n "$current" ]; then + echo "Config error (both origin and current)" >&2 + exit 1 + else + cd "$origin" + exec ./update-remotes "$@" + fi elif [ -z "$current" ]; then - echo "Wrong directory error (neither origin nor current)" >&2 - exit 1 + echo "Wrong directory error (neither origin nor current)" >&2 + exit 1 fi git fetch current @@ -24,7 +24,7 @@ git set-date web="`git config --get --path remote.web.url`" if [ -n "$web" ]; then - git push --force web $branches + git push --force web $branches fi cd "$current" -- 2.39.5