diff --git a/doc/user/project/repository/branches/img/branch_filter_search_box.png b/doc/user/project/repository/branches/img/branch_filter_search_box.png deleted file mode 100644 index 5dc300cf24e9130abe6719d8b28bf6ef38ccd08e..0000000000000000000000000000000000000000 Binary files a/doc/user/project/repository/branches/img/branch_filter_search_box.png and /dev/null differ diff --git a/doc/user/project/repository/branches/img/branch_filter_search_box_v13_10.png b/doc/user/project/repository/branches/img/branch_filter_search_box_v13_10.png new file mode 100644 index 0000000000000000000000000000000000000000..da7d5268b3b1db8ce888333944bdb5edd5b5fea8 Binary files /dev/null and b/doc/user/project/repository/branches/img/branch_filter_search_box_v13_10.png differ diff --git a/doc/user/project/repository/branches/img/compare_branches.png b/doc/user/project/repository/branches/img/compare_branches.png deleted file mode 100644 index e6f88da4989e79599b8f7ac709540fe488a7794e..0000000000000000000000000000000000000000 Binary files a/doc/user/project/repository/branches/img/compare_branches.png and /dev/null differ diff --git a/doc/user/project/repository/branches/img/compare_branches_v13_10.png b/doc/user/project/repository/branches/img/compare_branches_v13_10.png new file mode 100644 index 0000000000000000000000000000000000000000..2b9a575193810b7055ec283a69ba3e78a0b37053 Binary files /dev/null and b/doc/user/project/repository/branches/img/compare_branches_v13_10.png differ diff --git a/doc/user/project/repository/branches/img/repository_filter_search_box_v13_10.png b/doc/user/project/repository/branches/img/repository_filter_search_box_v13_10.png new file mode 100644 index 0000000000000000000000000000000000000000..fdda3858c3b87f9265e0427f53a2905fba5fe695 Binary files /dev/null and b/doc/user/project/repository/branches/img/repository_filter_search_box_v13_10.png differ diff --git a/doc/user/project/repository/branches/index.md b/doc/user/project/repository/branches/index.md index eaabcb52d57e6d8d599f390092dde37a28361fb4..d049b2108ee12a42264ee9786f4a305770eb8262 100644 --- a/doc/user/project/repository/branches/index.md +++ b/doc/user/project/repository/branches/index.md @@ -96,10 +96,11 @@ To compare branches in a repository: 1. Navigate to your project's repository. 1. Select **Repository > Compare** in the sidebar. -1. Select branches to compare using the [branch filter search box](#branch-filter-search-box) +1. Select the target repository to compare with the [repository filter search box](#repository-filter-search-box). +1. Select branches to compare using the [branch filter search box](#branch-filter-search-box). 1. Click **Compare** to view the changes inline: -![compare branches](img/compare_branches.png) + ![compare branches](img/compare_branches_v13_10.png) ## Delete merged branches @@ -114,11 +115,24 @@ this operation. It's particularly useful to clean up old branches that were not deleted automatically when a merge request was merged. +## Repository filter search box + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/52967) in GitLab 13.10. + +This feature allows you to search and select a repository quickly when [comparing branches](#compare). + +![Repository filter search box](img/repository_filter_search_box_v13_10.png) + +Search results appear in the following order: + +- Repositories with names exactly matching the search terms. +- Other repositories with names that include search terms, sorted alphabetically. + ## Branch filter search box > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22166) in GitLab 11.5. -![Branch filter search box](img/branch_filter_search_box.png) +![Branch filter search box](img/branch_filter_search_box_v13_10.png) This feature allows you to search and select branches quickly. Search results appear in the following order: