I'm resending my reroll of my earlier patch to teach git-p4 about detached heads. It uses Junio's suggestion of calling "git symbolic-ref" to determine if we're on a detached head, rather than parsing text strings. Luke Diamand (3): git-p4: add failing test for submit from detached head git-p4: add option to system() to return subshell status git-p4: work with a detached head git-p4.py | 29 ++++++++++++++++++++--------- t/t9800-git-p4-basic.sh | 16 ++++++++++++++++ 2 files changed, 36 insertions(+), 9 deletions(-) -- 2.6.0.rc3.238.gc07a1e8 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html