:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(husky): quote branch comparison to handle detached HEAD (#69708)
Raúl Negrón-Otero7963ebad49fa
diff --git a/.husky/pre-push b/.husky/pre-pushindex 341e423203e7..f22400d3b354 100755--- a/.husky/pre-push+++ b/.husky/pre-push@@ -4,7 +4,7 @@protected_branch='master'current_branch=$(git branch --show-current)-if [ $protected_branch = $current_branch ]+if [ "$protected_branch" = "$current_branch" ]thenecho "Pushing to $protected_branch is a sin! Instead, create a pull request and repent."exit 1 # push will not execute