feat: commit

This commit is contained in:
tresabhi committed 2025-02-25 17:23:25 -06:00
1 parent 57a2daa5e4
commit 8c7f851692
5 files changed
+184 -6

No files matched your search

@@ -32,7 +32,9 @@ export async function commitMultipleFiles(
// we discard blob if they're the same size; it's unlikely their
// contents will be different; I love playing russian roulette!
const equal = buffer.length === change.content.length || buffer.equals(change.content);
const equal =
buffer.length === change.content.length ||
buffer.equals(change.content);
if (!equal) {
const diff = change.content.length - buffer.length;