Let qparent and qapplied work for detached HEAD
Add git bugs and git format-hg-patch