git-p4: work with a detached head