Skip to content

Commit 264884a

Browse files
committed
Merge remote-tracking branch 'origin/main' into 6.x
2 parents 13533a4 + ed0ebb6 commit 264884a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: src/main/java/org/gitlab4j/api/ImportExportApi.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ public ImportStatus startImport(Object namespaceIdOrPath, File exportFile, Strin
239239
.withParam("packages_enabled", overrideParams.getPackagesEnabled())
240240
.withParam("build_git_strategy", overrideParams.getBuildGitStrategy())
241241
.withParam("build_coverage_regex", overrideParams.getBuildCoverageRegex())
242-
.withParam("squash_option", overrideParams.getSquashOption());
242+
.withParam("squash_option", overrideParams.getSquashOption())
243+
.withParam("name", overrideParams.getName());
243244
}
244245

245246
Response response = upload(Response.Status.CREATED, "file", exportFile, null, formData, url);
@@ -251,7 +252,7 @@ public ImportStatus startImport(Object namespaceIdOrPath, File exportFile, Strin
251252
*
252253
* <pre><code>GitLab Endpoint: GET /projects/:id/import</code></pre>
253254
*
254-
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
255+
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
255256
* @return an ImportStatus instance holding information on the import status
256257
* @throws GitLabApiException if any exception occurs
257258
*/

0 commit comments

Comments
 (0)