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
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
Adib Yusof 2022 年 4 月 8 日
編集済み: Adib Yusof 2022 年 4 月 8 日
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.
Adib Yusof
Adib Yusof 2022 年 4 月 8 日
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.
M N
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 ExchangeProject Management についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 4 月 2 日

コメント済み:

M N
2024 年 5 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by