Committing using 'Commit' button in Project tab is so slow
Mostrar comentarios más antiguos
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 comentarios
Esha Chakraborty
el 6 de Abr. de 2022
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
el 8 de Abr. de 2022
Editada: Adib Yusof
el 8 de Abr. de 2022
Adib Yusof
el 8 de Abr. de 2022
M N
el 30 de Mayo de 2024
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
Respuestas (0)
Categorías
Más información sobre Project Management en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!