summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.go b/git.go
index e5fe812..b20f993 100644
--- a/git.go
+++ b/git.go
@@ -88,7 +88,7 @@ func (oid *Oid) Equal(oid2 *Oid) bool {
func (oid *Oid) IsZero() bool {
for _, a := range oid {
- if a != '0' {
+ if a != 0 {
return false
}
}