Skip to content

The FindChangedPaths RPC should support custom diff filters

The FindChangedPaths RPC performs git-diff-tree(1) between a set of revisions and returns the raw diff info for all changed file pairs. There are certain use-cases where a client may only care about certain diff status and want to exclude ones they don't care about.

The git-diff-tree(1) command was the --diff-filter option to accomplish this. We should extend this RPC allow this option to be configurable.

Related: https://gitlab.com/gitlab-com/request-for-help/-/issues/3043#note_2617751221

Edited by Justin Tobler
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information