mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
Merge branch 'dev' of https://github.com/tresabhi/blitzkit into dev
This commit is contained in:
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
|
||||
// contents will be different; I love playing russian roulette!
|
||||
if (
|
||||
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;
|
||||
|
||||
console.log(
|
||||
|
||||
Reference in new issue
Block a user