Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/treetrek.git

Allows empty blobs

Author Dave Jarvis <email>
Date 2026-02-16 02:28:21 GMT-0800
Commit a1736fdb55c31187ab9693e41448d85dd47dc660
Parent 77c2bec
git/Git.php
$data = $this->read( $sha );
- if( $data === '' ) return;
-
$type = $this->getObjectType( $data );
$objects[$sha] = ['type' => $type, 'size' => strlen( $data )];
Delta 0 lines added, 2 lines removed, 2-line decrease