Skip to content

Commit bea86a6

Browse files
enable allow_missing_branches (#73)
1 parent e6d9039 commit bea86a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/backend/src/schemas/v2.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface GitHubConfig {
5454
*/
5555
archived?: boolean;
5656
/**
57-
* List of individual repositories to exclude from syncing. Expected to be formatted as '{orgName}/{repoName}' or '{userName}/{repoName}'.
57+
* List of individual repositories to exclude from syncing. Glob patterns are supported.
5858
*/
5959
repos?: string[];
6060
};
@@ -115,7 +115,7 @@ export interface GitLabConfig {
115115
*/
116116
archived?: boolean;
117117
/**
118-
* List of individual projects to exclude from syncing. The project's namespace must be specified. See: https://docs.gitlab.com/ee/user/namespace/
118+
* List of projects to exclude from syncing. Glob patterns are supported. The project's namespace must be specified, see: https://docs.gitlab.com/ee/user/namespace/
119119
*/
120120
projects?: string[];
121121
};
@@ -163,7 +163,7 @@ export interface GiteaConfig {
163163
*/
164164
archived?: boolean;
165165
/**
166-
* List of individual repositories to exclude from syncing. Expected to be formatted as '{orgName}/{repoName}' or '{userName}/{repoName}'.
166+
* List of individual repositories to exclude from syncing. Glob patterns are supported.
167167
*/
168168
repos?: string[];
169169
};

packages/backend/src/zoekt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const indexGitRepository = async (repo: GitRepository, ctx: AppContext) =
1010
...repo.tags ?? [],
1111
];
1212

13-
const command = `zoekt-git-index -index ${ctx.indexPath} -branches ${revisions.join(',')} ${repo.path}`;
13+
const command = `zoekt-git-index -allow_missing_branches -index ${ctx.indexPath} -branches ${revisions.join(',')} ${repo.path}`;
1414

1515
return new Promise<{ stdout: string, stderr: string }>((resolve, reject) => {
1616
exec(command, (error, stdout, stderr) => {

0 commit comments

Comments
 (0)