chore: no idea?
This commit is contained in:
1 parent
63f3199076
commit
afc232ac27
8 files changed
+411
-18
No files matched your search
@@ -73,4 +73,20 @@ if command -v git >/dev/null 2>&1 && [ -f "${PERSIST_GITIGNORE_GLOBAL}" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Keep the add-on's own artifacts out of this project's git, via a managed block in
|
||||
# .git/info/exclude. Runs every time so the list follows the add-on, not a file that
|
||||
# was copied once. Never fatal: a project need not be a git checkout.
|
||||
if [ -x "${PERSIST_BASE}/git-exclude.sh" ]; then
|
||||
"${PERSIST_BASE}/git-exclude.sh" || true
|
||||
fi
|
||||
|
||||
# Sibling-repo mirrors, opt-in via .ddev/claude-refs.txt. Setup is local and quick;
|
||||
# the sync runs detached so neither ddev start nor ddev claude waits on the network,
|
||||
# and refs-sync.sh throttles itself.
|
||||
REFS_SYNC="${PERSIST_BASE}/refs-sync.sh"
|
||||
if [ -f "${DDEV_APPROOT}/.ddev/claude-refs.txt" ] && [ -x "${REFS_SYNC}" ]; then
|
||||
"${REFS_SYNC}" --setup-only || echo "claude-refs: setup failed, continuing" >&2
|
||||
CLAUDE_REFS_DETACHED=1 setsid nohup "${REFS_SYNC}" >/dev/null 2>&1 </dev/null &
|
||||
fi
|
||||
|
||||
echo "Claude Code version: $("${PERSIST_BIN}" --version)"
|
||||
Reference in new issue
Block a user