Merge branch 'mg/detached-head-report'