mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 01:02:14 +08:00
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.
This commit is contained in:
@ -92,7 +92,13 @@ Future<void> 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<String> _remoteDefaultBranch({
|
||||
|
Reference in New Issue
Block a user