Skip to content

Commit 69fcc83

Browse files
committed
add branches to bitbucket
1 parent 12e2906 commit 69fcc83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/backend/src/repoCompileUtils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ export const compileBitbucketConfig = async (
373373
'zoekt.public': marshalBool(serverRepo.public),
374374
'zoekt.display-name': repoDisplayName,
375375
},
376+
branches: config.revisions?.branches ?? undefined,
377+
tags: config.revisions?.tags ?? undefined,
376378
} satisfies RepoMetadata,
377379
}
378380
} else {
@@ -412,6 +414,8 @@ export const compileBitbucketConfig = async (
412414
'zoekt.public': marshalBool(cloudRepo.is_private === false),
413415
'zoekt.display-name': repoDisplayName,
414416
},
417+
branches: config.revisions?.branches ?? undefined,
418+
tags: config.revisions?.tags ?? undefined,
415419
} satisfies RepoMetadata,
416420
}
417421
}

0 commit comments

Comments
 (0)