Updated extensions and global .gitignore

This commit is contained in:
Alex Selimov 2026-05-26 10:30:21 -04:00
parent 19f3c6a050
commit 411be9ab83
4 changed files with 243 additions and 0 deletions

View file

@ -27,4 +27,15 @@ if [[ -d "$PI_SRC" ]]; then
done
fi
# Global gitignore lives on the host at ~/.gitignore_global, symlinked from
# the host into the workspace at /workspace/dev_sandbox/.gitignore_global.
# Mirror it to /root/.gitignore_global so git's --system core.excludesfile
# (set in the Dockerfile) resolves. Symlink so host edits apply immediately.
GITIGNORE_SRC="/workspace/dev_sandbox/.gitignore_global"
GITIGNORE_DST="/root/.gitignore_global"
if [[ -e "$GITIGNORE_SRC" ]]; then
rm -f "$GITIGNORE_DST"
ln -sf "$GITIGNORE_SRC" "$GITIGNORE_DST"
fi
exec "$@"