diff options
author | Michael Muré <batolettre@gmail.com> | 2022-12-21 21:42:45 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-12-21 21:42:45 +0100 |
commit | 905c9a90f134842b97e2cf729d8b11ff59bfd766 (patch) | |
tree | b95b5daa443e188df2f9eb7dd80e9f4278092997 /repository/hash.go | |
parent | f2def3a9331080a02e57710a859d2aac608ed44c (diff) | |
download | git-bug-905c9a90f134842b97e2cf729d8b11ff59bfd766.tar.gz |
repository: return specific error on object not found, accept multiple namespace to push/pull
Diffstat (limited to 'repository/hash.go')
-rw-r--r-- | repository/hash.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/hash.go b/repository/hash.go index 6a11558f..ad0206c3 100644 --- a/repository/hash.go +++ b/repository/hash.go @@ -43,7 +43,7 @@ func (h *Hash) IsValid() bool { return false } for _, r := range *h { - if (r < 'a' || r > 'z') && (r < '0' || r > '9') { + if (r < 'a' || r > 'f') && (r < '0' || r > '9') { return false } } |