[PATCH] D133476: [automation] Add scripts to automate GitHub projects

Konrad Wilhelm Kleine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 01:57:08 PDT 2022


kwk added inline comments.


================
Comment at: llvm/utils/git/sync-release-repo.sh:12
+CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
----------------
You're not using `SCRIPT_DIR` anywhere in this script. Let's not copy snippets from other script that we don't use.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133476/new/

https://reviews.llvm.org/D133476



More information about the llvm-commits mailing list