Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions load_tooltips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ grep -qxF "data/tooltips.json" .gitignore || echo "data/tooltips.json" >> .gitig
echo "[7] Staging .gitignore only..."
git add .gitignore

if git diff --cached --quiet; then
if git diff --cached --quiet -- .gitignore; then
echo "[8] No changes to commit; skipping git commit/push."
else
echo "[8] Committing..."
git commit -m "GCZ: ensure tooltips.json exists, ignore it, and run load_tooltips.sh"
git commit -m "GCZ: ensure tooltips.json exists, ignore it, and run load_tooltips.sh" -- .gitignore

echo "[9] Pushing to origin main..."
git push origin main
Expand Down