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 Comments

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?
Hi Esha, in my case, the issue only happens if my 'Modified' files include project definition files, i.e., files in resources/project folder. I hope this information can help you helping me.
Please try recreating the issue using this repo https://github.com/DataScienceMY/supermag-data . I'd like to point out that the same issue did appear in my other repos as well.
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

Sign in to comment.

Answers (0)

Categories

Find more on Project Management in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 2 Apr 2022

Commented:

M N
on 30 May 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!