From 30ee6c38894b62dbfaaebab0ca43c51f9d988064 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 5 Mar 2021 14:57:58 +0100 Subject: [PATCH] Hopefully workaround dart-git errors I think these are causing some clones to fail, but I'm not 100% certain. I'm just going to roll the dice and see. --- lib/setup/clone.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/setup/clone.dart b/lib/setup/clone.dart index eeaaab83..cf4e997e 100644 --- a/lib/setup/clone.dart +++ b/lib/setup/clone.dart @@ -92,7 +92,13 @@ Future cloneRemote({ } // Just to be on the safer side, incase dart-git fucks up something - await repo.checkout("."); + // Causes problems - + // - Pack files are read into memory, this causes OOM issues + // https://sentry.io/organizations/gitjournal/issues/2254310735/?project=5168082&query=is%3Aunresolved + // - Pack files don't have REF_DELTA implemented + // https://sentry.io/organizations/gitjournal/issues/2235794657/?project=5168082&query=is%3Aunresolved + // + // await repo.checkout("."); } Future _remoteDefaultBranch({