chiark / gitweb /
Don't special-case the "master" branch during branch delete
authorKarl Hasselström <kha@treskal.com>
Sat, 22 Sep 2007 07:54:25 +0000 (09:54 +0200)
committerKarl Hasselström <kha@treskal.com>
Sat, 22 Sep 2007 07:54:25 +0000 (09:54 +0200)
commit57059512207410968f8e796454b03ffdf118ef4e
treeeaef1694c37110eb9f11b9353b325cb9e7bcd888
parent744773937f0d4fca0a763b167811279e8d44b460
Don't special-case the "master" branch during branch delete

It's unintuitive, unsymmetric and doesn't work if there is no
"master". Instead, prohibit deletion of the current branch.

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