summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--branch.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/branch.go b/branch.go
index 777231c..aee23e4 100644
--- a/branch.go
+++ b/branch.go
@@ -98,9 +98,8 @@ func (b *Branch) IsHead() (bool, error) {
return true, nil
case 0:
return false, nil
- default:
- return false, MakeGitError(ret)
}
+ return false, MakeGitError(ret)
}