Add ability to specify directory in Compare view
Description
Add ability to specify directory when comparing objects
Documentation blurb
Overview
Since git diff
allows you to narrow results to certain directory (git diff tag1..tag2 -- specific/folder
) it would be nice to have such possibility in Gitlab
Use cases
Imagine you have big repo with several logic projects in it (monorepo). Let's say foo
is one of the projects located in packages/foo
. If you open /compare/foo@3.6.5...foo@3.6.6
you want to see the changes narrowed to certain directory (packages/foo
in our case)
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml