chiark / gitweb /
Properly detect that HEAD is detached
authorKarl Hasselström <kha@treskal.com>
Mon, 8 Oct 2007 05:15:33 +0000 (07:15 +0200)
committerKarl Hasselström <kha@treskal.com>
Mon, 8 Oct 2007 07:26:40 +0000 (09:26 +0200)
commitacf901c19f3873572045d1c376deabb8eaf477e6
treec979d7eb250aa8b1988b2ac8de1c4ba7702abeac
parent762f6c8caf35b0352754d61b70c6ce8264bf2a6d
Properly detect that HEAD is detached

We still error out on a lot of places we shouldn't, e.g. "stg branch"
when on a detached HEAD, but at least now we give a sane error
message.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/git.py