mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: commit
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user