Committing using 'Commit' button in Project tab is so slow
이전 댓글 표시
Hi all,
Say I am working on a project-enabled git repo which gives me the Project tab whenever I open my *.prj file. Everything works fine and all, until when it's time for me to commit my changes. Let's say I wanna commit all changes, so logically I would use the 'Commit' button in the Project tab:

Eventhough it is just small changes, it takes almost a minute to for the committing to complete! This is shown by this rotating circle progress indicator 'Checking in files':

In contrast, if I were to commit the files individually using the right-click context menu like this:

It takes less than a second! Why is this, and if this is a bug, please fix it since committing using the button is convenient to commit all changes at once.
Thank you!
댓글 수: 4
Esha Chakraborty
2022년 4월 6일
Hi Adib,
I understand that commiting using the 'Commit' icon on the Project tab is taking longer than committting each file individually for you.
Unfortunately, this issue is not reproducible at my end with any random git repo. Both the options seem to take an average of just a few seconds to complete at my end. Would you mind sharing your project file so that I can try reproducing the issue and come up with a solution for you?
Adib Yusof
2022년 4월 8일
편집: Adib Yusof
2022년 4월 8일
Adib Yusof
2022년 4월 8일
M N
2024년 5월 30일
I am facing same issue, while comitting .slx file, since i switched my git repo to git lfs. Just anticipating could be related to git lfs.
Before that comitting was normal.
There was a .gitattributes files added for git lfs for tracking simulink models.
*.slx filter=lfs diff=lfs merge=lfs -text
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Project Management에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!