summaryrefslogtreecommitdiff
path: root/testdata/TestGitRepository.git
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-08-25 15:44:01 +0200
committerCarlos Martín Nieto <[email protected]>2014-08-25 15:44:01 +0200
commit106ebe2fc4e856d9217e05d3cfc970d8aac4e190 (patch)
treed4f6a283d03c88b116346e1a7f5db9d57523bf8e /testdata/TestGitRepository.git
parent91fd186186b8e8c8169c79678838ce8114bb89f3 (diff)
Handle empty slices in CreateBlobFromBuffer()
Go won't let us access the zeroth alement of an empty slice, so we need to figure out if the length is zero and take special action. This fixes #106.
Diffstat (limited to 'testdata/TestGitRepository.git')
0 files changed, 0 insertions, 0 deletions