scripts icon indicating copy to clipboard operation
scripts copied to clipboard

File history in GitLab of submodule is a mess.

Open yanring opened this issue 5 years ago • 1 comments

Case: The file history of a submodule in Gitlab is no longer the history of the current file, but all the commits of the submodule.

I did a little research on this situation and found that it was caused by the git log --follow file1 used in GitLab's file history, with the --follow option listing the files that were moved/rename. If just git log file, then everything is fine.(https://gitlab.com/gitlab-org/gitlab/-/issues/215094)

Any ideas, guys?

Thanks!

yanring avatar Oct 06 '20 12:10 yanring

Sorry, I'm not familiar w/ that issue. If you find a solution, feel free to push up a PR.

jeremysears avatar Oct 06 '20 13:10 jeremysears