Skip to content

Fix icon for submodules in the commit view

Jacques Erasmus requested to merge 284916-fix-submodule-file-icon into master

What does this MR do and why?

Adds a way to reference file icons in HAML and adds the correct icon to the commit header

Screenshots or screen recordings

Before After
Screenshot_2023-09-08_at_11.50.23 Screenshot_2023-09-08_at_11.51.46

How to set up and validate locally

  1. Add/change/remove a Git submodule from a repository.
  2. View the file list in a commit.
  3. The icon in the file headers should be a git folder icon.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #284916 (closed)

Edited by Jacques Erasmus

Merge request reports