Fix wrong timestamps for files with the same name
What does this MR do and why?
This pr should fix showing wrong commit dates in files with same name
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Steps to reproduce
- Create the folder structure above:
- In the first commit, add the
alpha
folder and it's contents, and set the commit message to "alpha". - In the first commit, add the
beta
folder and it's contents, and set the commit message to "beta".
- In the first commit, add the
- Open the "beta" folder and observe that all the files in this folder have the "beta" commit message and timestamps.
- Using the breadcrumbs, navigate to the parent folder and then click into the "alpha" folder.
- At this point, the files in the "alpha" folder will show "beta" as the commit message along with the beta timestamps, with the exception of the "alpha" file.
- If you then refresh the page, the "alpha" files will then show the correct "alpha" commit message and timestamps.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #363436 (closed)
Edited by Nataliia Radina