This commit is contained in:
tresabhi committed 2024-12-01 19:31:48 -06:00
commit 33c0fbbb9b
1 file changed
+2 -4
@@ -32,10 +32,8 @@ export async function commitMultipleFiles(
// we discard blob if they're the same size; it's unlikely their // we discard blob if they're the same size; it's unlikely their
// contents will be different; I love playing russian roulette! // contents will be different; I love playing russian roulette!
if ( const equal = buffer.length === change.content.length || buffer.equals(change.content);
buffer.length !== change.content.length && if (!equal) {
!buffer.equals(change.content)
) {
const diff = change.content.length - buffer.length; const diff = change.content.length - buffer.length;
console.log( console.log(