mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
GitLab Synchronization: Fixed more merging related problems
This commit is contained in:
@@ -468,7 +468,7 @@ async function getBlobContent(token, repoFullName, sha) {
|
||||
return await fetchGitLabJson(url, {
|
||||
headers: buildHeaders(token),
|
||||
signal: AbortSignal.timeout(REQUEST_LONG_TIMEOUT_MS)
|
||||
}, 'getBlobContent').then(r => Buffer.from(r.content, 'base64'))
|
||||
}, 'getBlobContent').then(r => r.content || '')
|
||||
}
|
||||
|
||||
async function listNewCommitsWithStatus(token, fullName, branchName, fromCommit) {
|
||||
|
||||
@@ -278,8 +278,7 @@ async function resolveConflictSyncState(
|
||||
token,
|
||||
repoFullName,
|
||||
defaultBranchName,
|
||||
newOlBranchHead,
|
||||
tempBranchName,
|
||||
tempBranchName
|
||||
)
|
||||
|
||||
if (conflict) {
|
||||
|
||||
Reference in New Issue
Block a user