Fix branch

This commit is contained in:
Ryan Hughes committed 2025-12-13 19:19:32 -05:00
1 parent 42401fa8a1
commit 0b13252528
1 file changed
+3 -3
+3 -3
View File
@@ -8,9 +8,9 @@ STATE_DIR=/root/.state
mkdir -p "$STATE_DIR" mkdir -p "$STATE_DIR"
cd "$REPO_DIR" cd "$REPO_DIR"
git fetch origin main --quiet git fetch origin master --quiet
if [[ $(git rev-parse HEAD) != $(git rev-parse origin/main) ]]; then if [[ $(git rev-parse HEAD) != $(git rev-parse origin/master) ]]; then
git pull --ff-only origin main git pull --ff-only origin master
touch "$STATE_DIR/.sync-needed-edge" touch "$STATE_DIR/.sync-needed-edge"
fi fi