Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does my Eclipse "count objects" before pushing upstream to GIT each time

Every time I push a commit to upstream Git using Eclipse, it keeps counting thousands of objects. This happens even if I just commit a single line change. And it takes about 5-10 minutes.

Screenshot showing "Counting" of thousands of objects

Why does Eclipse do this? Is there some configuration option I have selected which makes this happen? How could I stop this from happening? This step is not happening for my colleagues who check-in to the same remote repository.

like image 302
Teddy Avatar asked Apr 10 '26 15:04

Teddy


2 Answers

A good workaround for this issue is to select the "Run in background" button. Upon sending the push branch job to the background, the job will finish almost immediately in my experience. It appears that the process of writing the count to the screen is what is slowing down the performance of the job.

like image 172
Neil H Avatar answered Apr 12 '26 14:04

Neil H


Try running an update on eGit, as it looks like it might be a known bug, which has been fixed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=516276

But the update is not yet generally available so you'll need to update to EGit nightly http://download.eclipse.org/egit/updates-nightly/ or just run pushes in the background for now, per the advice at the end of this page: https://www.eclipse.org/forums/index.php/t/1085518/

like image 35
kmt Avatar answered Apr 12 '26 13:04

kmt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!